Exception: Isomorphic::InvalidInflectionTerm
- Inherits:
-
InflectorError
- Object
- StandardError
- IsomorphicError
- InflectorError
- Isomorphic::InvalidInflectionTerm
- Defined in:
- lib/isomorphic/inflector.rb
Overview
Raised when an Isomorphic inflector cannot find an inflectable term.
Instance Attribute Summary collapse
-
#term ⇒ Object
readonly
Returns the value of attribute term.
Attributes inherited from IsomorphicError
Instance Method Summary collapse
-
#initialize(message = nil, base, term) ⇒ InvalidInflectionTerm
constructor
Default constructor.
Constructor Details
#initialize(message = nil, base, term) ⇒ InvalidInflectionTerm
Default constructor.
60 61 62 63 64 |
# File 'lib/isomorphic/inflector.rb', line 60 def initialize( = nil, base, term) super(, base) @term = term end |
Instance Attribute Details
#term ⇒ Object (readonly)
Returns the value of attribute term.
53 54 55 |
# File 'lib/isomorphic/inflector.rb', line 53 def term @term end |