Examveda

What does the binmode method do in Ruby file I/O?

A. Sets the file mode to text mode

B. Sets the file mode to read-only mode

C. Sets the file mode to write-only mode

D. Sets the file mode to binary mode

Answer: Option D


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

Join The Discussion

Related Questions on File Input Output in Ruby