# File lib/gettext/locale.rb, line 115 def set_current(lang, country = nil, charset = nil) if lang == nil @@current = nil else if lang.kind_of? Locale::Object @@current = lang else @@current = Locale::Object.new(lang, country, charset) end @@current.charset ||= @@locale_system_module.get_charset(@@current) end self end