Class: I18nAccessors::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n_accessors.rb

Configuration Methods collapse

Configuration Methods collapse

Constructor Details

#initializeConfiguration

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_classObject

Returns the value of attribute i18n_class.



39
40
41
# File 'lib/i18n_accessors.rb', line 39

def i18n_class
  @i18n_class
end