Which method is used to convert a string to uppercase in Ruby?
- A .to_upper
- B .upcase
- C .to_uppercase
- D .uppercase
Explanation
The correct answer to the question is: .upcase
Which method is used to convert a string to uppercase in Ruby?
The correct answer to the question is: .upcase