Examveda
Examveda

Which method in Ruby is used to check if the end of a file has been reached?

A. end_of_file()

B. at_end()

C. eof()

D. file_end()

Answer: Option C


This Question Belongs to Ruby Programming >> File Input Output In Ruby

Join The Discussion

Related Questions on File Input Output in Ruby