Q. Which method in Ruby is used to check if the end of a file has been reached?
β
Correct Answer: (C)
eof()
You must be Logged in to update hint/solution