0
What is the difference between write amd puts when writing files in ruby?
3 Answers
0
Puts uses 1/0 (input output) console gem. The .write uses binary code output
0
both are the same
0
when writing to files write acts like print in Ruby, write won't create a new line whereas puts will.