Exception: CruftTracker::TrackMethod::NoSuchMethod

Inherits:
StandardError
  • Object
show all
Defined in:
app/services/cruft_tracker/track_method.rb

Instance Method Summary collapse

Constructor Details

#initialize(owner_name, missing_name) ⇒ NoSuchMethod

Returns a new instance of NoSuchMethod.



139
140
141
142
143
144
145
# File 'app/services/cruft_tracker/track_method.rb', line 139

def initialize(owner_name, missing_name)
  super(
    "#{owner_name} does not have an instance or class method named '#{
      missing_name
    }'."
  )
end