I want to be able to check if a word is already all uppercase. And it might also include numbers.
Example:
GO234 => yes Go234 => no
You can compare the string with the same string but in uppercase:
'go234' == 'go234'.upcase #=> false 'GO234' == 'GO234'.upcase #=> true
2.1m questions
2.1m answers
60 comments
57.0k users