Class: I18nAccessors::Configuration
- Inherits:
-
Object
- Object
- I18nAccessors::Configuration
- Defined in:
- lib/i18n_accessors.rb
Configuration Methods collapse
-
#i18n_class ⇒ Object
Returns the value of attribute i18n_class.
Configuration Methods collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
41 42 43 |
# File 'lib/i18n_accessors.rb', line 41 def initialize @i18n_class ||= I18n end |
Instance Attribute Details
#i18n_class ⇒ Object
Returns the value of attribute i18n_class.
39 40 41 |
# File 'lib/i18n_accessors.rb', line 39 def i18n_class @i18n_class end |