Method: WIN32OLE.locale

Defined in:
win32ole.c

.localeObject

Returns current locale id (lcid). The default locale is WIN32OLE::LOCALE_SYSTEM_DEFAULT.

lcid = WIN32OLE.locale


2292
2293
2294
2295
2296
# File 'win32ole.c', line 2292

static VALUE
fole_s_get_locale(VALUE self)
{
    return RB_INT2FIX(cWIN32OLE_lcid);
}