Class: ReeI18n::AddLoadPath

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

Instance Method Summary collapse

Instance Method Details

#call(paths) ⇒ Object



11
12
13
14
15
# File 'lib/ree_lib/packages/ree_i18n/package/ree_i18n/functions/add_load_path.rb', line 11

def call(paths)
  I18n.load_path += wrap(paths)
  I18n.load_path.uniq!
  I18n.load_path
end