文字列を大文字/小文字に変換するには、文字列メソッドの upper() / lower() を使用します。
文字列.upper() 文字列.lower()
例
'test'.upper() #=> TEST 'TEST'.lower() #=> test