How do I take a string and convert it to lower or upper case in Ruby?
The .swapcase method transforms the uppercase latters in a string to lowercase and the lowercase letters to uppercase.
'TESTING'.swapcase #=> testing 'testing'.swapcase #=> TESTING