Class: I18n::InflectionConfigurationException Abstract
- Inherits:
-
InflectionException
- Object
- ArgumentError
- InflectionException
- I18n::InflectionConfigurationException
- Defined in:
- lib/i18n-inflector/errors.rb
Overview
This class is abstract.
It is a parent class for all exceptions related to configuration data of inflections that is processed.
Direct Known Subclasses
BadInflectionAlias, BadInflectionKind, BadInflectionToken, DuplicatedInflectionToken
Instance Attribute Summary collapse
-
#locale ⇒ Object
Returns the value of attribute locale.
Attributes inherited from InflectionException
Instance Method Summary collapse
Methods inherited from InflectionException
Constructor Details
This class inherits a constructor from I18n::InflectionException
Instance Attribute Details
#locale ⇒ Object
Returns the value of attribute locale.
49 50 51 |
# File 'lib/i18n-inflector/errors.rb', line 49 def locale @locale end |
Instance Method Details
#message ⇒ Object
51 52 53 54 |
# File 'lib/i18n-inflector/errors.rb', line 51 def mkey = @key.nil? ? ".i18n.inflections.#{@kind}" : ".#{@key}" "#{@locale}#{mkey}: " end |