Q4
What is the purpose of the File.readlines() method in Ruby?
A.
To delete all lines from a file
B.
To write all lines of a file from an array
C.
To read all lines of a file into an array
AnswerD.
To read a specific line from a file
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board