Locale::System module for Default OS (Unix) This is low-level class. Application shouldn’t use this directly.

Methods
Public Instance methods
cgi() [ source ]

Gets the CGI object. If it is nil, returns new CGI object.

  • Returns: the CGI object
cgi=(cgi_) [ source ]

Sets a CGI object.

  • cgi_: CGI object
  • Returns: cgi_
default_locale() [ source ]

Gets the default Locale::Object.

  • Returns: the default locale
default_locale=(locale) [ source ]

Sets a default locale. en.UTF-8 is the default value if not set.

get_charset(locale) [ source ]

Gets the charset of the locale.

set_cgi(cgi_) [ source ]

Sets a CGI object.

  • cgi_: CGI object
  • Returns: self
set_default_locale(locale) [ source ]

Sets a default locale. en.UTF-8 is the default value if not set.

system() [ source ]

Gets the default locale using setlocale and nl_langinfo.