Q. Which method in Ruby is used to write data to a file? (A) write() (B) puts() (C) print() (D) <<() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) write()