Class: I18n::InflectionOptionIncorrect
- Inherits:
-
InvalidOptionForKind
- Object
- ArgumentError
- InflectionException
- InflectionPatternException
- InvalidOptionForKind
- I18n::InflectionOptionIncorrect
- Defined in:
- lib/i18n-inflector/errors.rb
Overview
This exception will be raised when a required option, describing token selected for a kind contains a token that is not of the given kind.
Instance Attribute Summary
Attributes inherited from InvalidOptionForKind
Attributes inherited from InflectionPatternException
Attributes inherited from InflectionException
Instance Method Summary collapse
Methods inherited from InvalidOptionForKind
Methods inherited from InflectionPatternException
Methods inherited from InflectionException
Constructor Details
This class inherits a constructor from I18n::InvalidOptionForKind
Instance Method Details
#message ⇒ Object
94 95 96 97 98 |
# File 'lib/i18n-inflector/errors.rb', line 94 def "" << super << "required value #{@option.inspect} of option #{@kind.inspect} " \ "does not match any token" end |