Home / MCQ Bank / Computer
Computer File Input Output In Ruby

What is the purpose of the File.readlines() method in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • To read all lines of a file into an array

Related Computer Questions

In the following MySQL command how many rows will be updated? UPDATE person SET lname='s', Fname = 'p', WHERE person_id = 1; /* person_id is a primary key */ Which of the following is a condensed form of standard generalized markup language? Which tag is not used if you want to indicate the importance of the phrase? What is the auxiliary space requirement of counting sort? How may types of computer according to the size?