Ruby - String Operations
Which of the following is the correct syntax to convert a string
name to uppercase in Ruby?name to uppercase in Ruby?name.upcase().upcase(name) is not Ruby syntax, toUpperCase() is JavaScript, and upper() is not a Ruby method.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions