Exception: CruftTracker::TrackMethod::AmbiguousMethodType
- Inherits:
-
StandardError
- Object
- StandardError
- CruftTracker::TrackMethod::AmbiguousMethodType
- Defined in:
- app/services/cruft_tracker/track_method.rb
Instance Method Summary collapse
-
#initialize(owner_name, ambiguous_name) ⇒ AmbiguousMethodType
constructor
A new instance of AmbiguousMethodType.
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 |