From: Eduardo Blumenfeld Date: 2012-04-27T01:19:03+09:00 Subject: Re: net::smtp carriage returns 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 -- Posted via http://www.ruby-forum.com/.