Exception: Isomorphic::InvalidInflectionClass
- Inherits:
-
InflectorError
- Object
- StandardError
- IsomorphicError
- InflectorError
- Isomorphic::InvalidInflectionClass
- Defined in:
- lib/isomorphic/inflector.rb
Overview
Raised when an Isomorphic inflector cannot find a class.
Instance Attribute Summary collapse
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
Attributes inherited from IsomorphicError
Instance Method Summary collapse
-
#initialize(message = nil, base, klass) ⇒ InvalidInflectionClass
constructor
Default constructor.
Constructor Details
#initialize(message = nil, base, klass) ⇒ InvalidInflectionClass
Default constructor.
24 25 26 27 28 |
# File 'lib/isomorphic/inflector.rb', line 24 def initialize( = nil, base, klass) super(, base) @klass = klass end |
Instance Attribute Details
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
17 18 19 |
# File 'lib/isomorphic/inflector.rb', line 17 def klass @klass end |