Vidyalelo
Ruby Programming · Q35

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 35

Q35

In Ruby, which method is used to convert a string to uppercase?

A.
to_upper
B.
upcase
Answer
C.
uppercase
D.
capitalize

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board