Exception: IsThisUsed::NoSuchMethod

Inherits:
StandardError
  • Object
show all
Defined in:
lib/is_this_used/cruft_tracker.rb

Instance Method Summary collapse

Constructor Details

#initialize(owner_name, missing_method_name) ⇒ NoSuchMethod

Returns a new instance of NoSuchMethod.



235
236
237
238
239
240
241
# File 'lib/is_this_used/cruft_tracker.rb', line 235

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