Joe Ruby MUDCRAP-CE wrote:
> For general purpose file writing, does it matter whether puts or write 
> is used? From the docs, it seems like puts should be used for strings, 
> while write can be used for anything. I'm not really sure what 
> difference there is between the two, but the docs say something about 
> puts adding newlines or something.
>
> Thanks,
> Joe
>
>   

Yes, using puts adds a newline to the end of the output, while write and 
print do not. So, yes, it can matter a great deal which one you use.

-Justin