method
upcase
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"
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"