Exception: Isomorphic::InvalidInflectionMethodName
- Inherits:
-
InflectorError
- Object
- StandardError
- IsomorphicError
- InflectorError
- Isomorphic::InvalidInflectionMethodName
- Defined in:
- lib/isomorphic/inflector.rb
Overview
Raised when an Isomorphic inflector cannot find an instance method by name.
Instance Attribute Summary collapse
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Attributes inherited from IsomorphicError
Instance Method Summary collapse
-
#initialize(message = nil, base, method_name) ⇒ InvalidInflectionMethodName
constructor
Default constructor.
Constructor Details
#initialize(message = nil, base, method_name) ⇒ InvalidInflectionMethodName
Default constructor.
42 43 44 45 46 |
# File 'lib/isomorphic/inflector.rb', line 42 def initialize( = nil, base, method_name) super(, base) @method_name = method_name end |
Instance Attribute Details
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
35 36 37 |
# File 'lib/isomorphic/inflector.rb', line 35 def method_name @method_name end |