Q7
What is the method used to convert a string to an integer in Ruby?
A.
.to_i
AnswerB.
.to_int
C.
.convert_int
D.
.parse_int
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board