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.



135
136
137
138
139
140
141
# File 'lib/is_this_used/cruft_tracker.rb', line 135

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