What is the use of .capitalize method?
(a) It capitalizes the entire string
(b) It capitalize on the first letter of the string
(c) It capitalize the strings which are in small case
(d) All of the mentioned
I got this question by my college director while I was bunking the class.
I'd like to ask this question from Formatting String Methods in chapter Ruby Basics of Ruby