--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "lang: language as String, or Locale::Object"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "country: country as String or nil"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "charset: charset as String or nil"
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "Returns: a Locale::Object."
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: Sets a default locale. This function is an alias of Locale.set_default with calling set_current(nil).
- !ruby/struct:SM::Flow::P 
  body: "<b>Notice</b>: Locale.set(lctype, locale) is deprecated."
full_name: Locale#set
is_singleton: false
name: set
params: |
  set(lang)
  set(lang, country = nil, charset = nil)

visibility: public
