Exception: Mack::Localization::Errors::InvalidMethodName
- Defined in:
- lib/mack-localization/errors.rb
Overview
Raise this error when the user is calling method that doesn’t exist (similar to NoMethodError)
Instance Method Summary collapse
-
#initialize(method_name) ⇒ InvalidMethodName
constructor
A new instance of InvalidMethodName.
Constructor Details
#initialize(method_name) ⇒ InvalidMethodName
Returns a new instance of InvalidMethodName.
56 57 58 |
# File 'lib/mack-localization/errors.rb', line 56 def initialize(method_name) super("Unknown method: #{method_name}") end |