Q3
Which method in Ruby is used to read a line from a file?
A.
read
B.
readline
AnswerC.
getline
D.
None of the above
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board