Exception: CruftTracker::TrackMethod::AmbiguousMethodType

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

Instance Method Summary collapse

Constructor Details

#initialize(owner_name, ambiguous_name) ⇒ AmbiguousMethodType

Returns a new instance of AmbiguousMethodType.



129
130
131
132
133
134
135
# File 'app/services/cruft_tracker/track_method.rb', line 129

def initialize(owner_name, ambiguous_name)
  super(
    "#{owner_name} has instance and class methods named '#{
      ambiguous_name
    }'. Please specify the correct type."
  )
end