Module: Locale::SystemPosix

Module Locale::SystemPosix |
In: | lib/gettext/locale_posix.rb

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

Methods

- get_charset
- system

Public Instance methods
get_charset(locale) [ source ]

Gets the charset of the locale.

- locale: Locale::Object
- Returns: the charset of the locale

system() [ source ]

Gets the system locale using setlocale and nl_langinfo.

- Returns the system locale (Locale::Object).