Method: U::String#downcase

Defined in:
ext/u/rb_u_string_downcase.c

#downcase(locale = ENV['LC_CTYPE']) ⇒ U::String

Returns The downcasing of the receiver according to the rules of the language of LOCALE, which may be empty to specifically use the default, language-independent, rules, inheriting any taint and untrust.

Parameters:

  • locale (#to_str) (defaults to: ENV['LC_CTYPE'])

Returns:

  • (U::String)

    The downcasing of the receiver according to the rules of the language of LOCALE, which may be empty to specifically use the default, language-independent, rules, inheriting any taint and untrust



9
10
11
12
13
# File 'ext/u/rb_u_string_downcase.c', line 9

VALUE
rb_u_string_downcase(int argc, VALUE *argv, VALUE self)
{
        return _rb_u_string_convert_locale(argc, argv, self, u_downcase, NULL);
}