Class: Jah::Extra

Inherits:
Object
  • Object
show all
Includes:
Command
Defined in:
lib/jah/commands/extra.rb

Constant Summary

Constants included from Command

Command::COMM

Class Method Summary collapse

Methods included from Command

find, included

Class Method Details

.change_lang(_, new) ⇒ Object

changeslang.*s(w*)$



7
8
9
10
# File 'lib/jah/commands/extra.rb', line 7

def self.change_lang(_, new)
  I18n.default_locale = new

end