Module: LocaleFiddler
- Extended by:
- Fiddle::Importer
- Defined in:
- lib/sup/util/locale_fiddler.rb
Constant Summary collapse
- SETLOCALE_LIB =
case RbConfig::CONFIG['arch'] when /darwin/; "libc.dylib" when /cygwin/; "cygwin1.dll" when /freebsd/; "libc.so.7" else; "libc.so.6" end
Instance Method Summary collapse
Instance Method Details
#setlocale(type, string) ⇒ Object
21 22 23 |
# File 'lib/sup/util/locale_fiddler.rb', line 21 def setlocale(type, string) LocaleFiddler.setlocale(type, string) end |