Class: ReeI18n::WithLocale

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

Instance Method Summary collapse

Instance Method Details

#call(paths, &block) ⇒ Object



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

def call(paths, &block)
  I18n.with_locale(locale, &block)
end