method

upcase

v1_8_7_330 - 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"