From: peteV Date: 2013-04-30T03:57:45+09:00 Subject: Re: writing lines to a file On 04/29/2013 02:51 PM, Joel Pearson wrote: > I think I know what the problem is, you're using puts or print in #to_s > instead of returning the string. The puts and print methods return nil. > you are right! thanks Joel, newb mistakes I'm making