Class: ReeI18n::SetDefaultLocale

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_i18n/package/ree_i18n/functions/set_default_locale.rb

Instance Method Summary collapse

Instance Method Details

#call(locale) ⇒ Object


9
10
11
# File 'lib/ree_lib/packages/ree_i18n/package/ree_i18n/functions/set_default_locale.rb', line 9

def call(locale)
  I18n.default_locale = locale
end