Class: I18n::MisplacedInflectionToken
- Inherits:
-
InflectionPatternException
- Object
- ArgumentError
- InflectionException
- InflectionPatternException
- I18n::MisplacedInflectionToken
- Defined in:
- lib/i18n-inflector/errors.rb
Overview
This is raised when an inflection token used in a pattern does not match an assumed kind determined by reading previous tokens from that pattern or by the given strict kind of a named pattern.
Instance Attribute Summary
Attributes inherited from InflectionPatternException
Attributes inherited from InflectionException
Instance Method Summary collapse
Methods inherited from InflectionPatternException
Methods inherited from InflectionException
Constructor Details
This class inherits a constructor from I18n::InflectionPatternException
Instance Method Details
#message ⇒ Object
135 136 137 138 139 |
# File 'lib/i18n-inflector/errors.rb', line 135 def '' << super << "token #{@token.to_s.inspect} " \ "is not of the expected kind #{@kind.inspect}" end |