From: "Tim L." Date: 2012-04-27T03:14:55+09:00 Subject: Re: net::smtp carriage returns Eduardo Blumenfeld wrote in post #1058518: > Your problem has to do with the result of: > -------------------------- > dif = Diffy::Diff.new("#{@a[0]}", "#{@a[1]}", :source => 'files', > :diff => "-b") > -------------------------- > > I'm not familiar with the Diffy (gem?) > > you could test what is the state of the object dif by typing to the > console: > > ------------------------ > puts dif.to_s (or just dif) > ------------------------ > > Regards, > > Eduardo I get the desired results from the puts dif. It creates a separate line for the differences in the file. -- Posted via http://www.ruby-forum.com/.