method
upcase
v1_8_6_287 -
Show latest stable
- Class:
String
upcase()public
Returns a copy of str with all lowercase letters replaced with their uppercase counterparts. The operation is locale insensitive—only characters ``a’‘ to ``z’‘ are affected.
"hEllO".upcase #=> "HELLO"