Module: I18nLanguageSelect
- Defined in:
- lib/i18n_language_select/import.rb,
lib/i18n_language_select.rb,
lib/i18n_language_select/railtie.rb,
lib/i18n_language_select/version.rb,
lib/i18n_language_select/form_builder.rb,
lib/i18n_language_select/form_helpers.rb,
lib/i18n_language_select/instance_tag.rb
Overview
Imports ISO 639-1 country codes It parses a HTML file from Unicode.org for given locale and saves the Rails’ I18n hash in the plugin locale
directory
Defined Under Namespace
Modules: FormBuilder, FormHelpers, InstanceTag
Classes: Configuration, Import, Railtie
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
12
13
14
|
# File 'lib/i18n_language_select.rb', line 12
def configuration
@configuration ||= Configuration.new
end
|
.configuration=(config) ⇒ Object
16
17
18
|
# File 'lib/i18n_language_select.rb', line 16
def configuration=(config)
@configuration = config
end
|
20
21
22
|
# File 'lib/i18n_language_select.rb', line 20
def configure
yield(configuration)
end
|