set (Locale)

    # File lib/gettext/locale.rb, line 153
      def set(lang, country = nil, charset = nil)
        if lang.kind_of? Numeric
          warn "Locale.set(lctype, locale) is deprecated. Use Locale.set(locale) instead."
          # Locale.set(Locale::CTYPE, "ja_JP.eucJP") "country" means locale.
          lang = country
          country = nil
          charset = nil
        end

        set_current(nil)
        if lang.kind_of? String
          set_default(Locale::Object.new(lang, country, charset))
        elsif lang.kind_of? Locale::Object
          set_default(lang)
        else
          set_default(nil)
        end
        @@default
      end