Method: ROM::Deprecations.message

Defined in:
lib/rom/support/deprecations.rb

.message(msg) ⇒ Object



55
56
57
58
59
60
# File 'lib/rom/support/deprecations.rb', line 55

def self.message(msg)
  "    \#{msg}\n    \#{caller.detect { |l| !l.include?('lib/rom')}}\n  MSG\nend\n"