Class: I18nLanguageSelect::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



31
32
33
34
35
# File 'lib/i18n_language_select.rb', line 31

def initialize
  self.namespace              = "i18n_languages"
  self.custom                 = false
  self.available_locales_only = true
end

Instance Attribute Details

#available_locales_onlyObject

namespace of locales for language options



27
28
29
# File 'lib/i18n_language_select.rb', line 27

def available_locales_only
  @available_locales_only
end

#customObject

namespace of locales for language options



27
28
29
# File 'lib/i18n_language_select.rb', line 27

def custom
  @custom
end

#namespaceObject

namespace of locales for language options



27
28
29
# File 'lib/i18n_language_select.rb', line 27

def namespace
  @namespace
end