From: Randy Kramer Date: 2007-10-16T21:25:48+09:00 Subject: puts vs. write for writing to a file I've done some googling, some looking in the pickaxe(2) book (using the index), and some experimenting in irb, but I can't readily see the difference between puts and write (except that write doesn't work in all cases in irb:) irb(main):044:0> write "\nmorF\n\n" NoMethodError: undefined method `write' for main:Object So what is the difference (specifically for the case of writing to a file) and/or when should I use one vs. the other? Randy Kramer