Method: Kennel::SettingsAsMethods#raise_with_location
- Defined in:
- lib/kennel/settings_as_methods.rb
#raise_with_location(error, message) ⇒ Object
80 81 82 83 84 |
# File 'lib/kennel/settings_as_methods.rb', line 80 def raise_with_location(error, ) = .dup << " on #{@invocation_location}" if @invocation_location raise error, end |