Q23
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
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board