Class: Tools

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/workin/tools.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Tools

Returns a new instance of Tools.



5
6
7
8
# File 'lib/workin/tools.rb', line 5

def initialize(options = {})
   I18n.load_path = Dir[Workin.files + '/pt-BR.yml']
   I18n.locale    = 'pt-BR'.to_sym
end