I see.

I've never used Diff::LCS personally, but I can tell that to get more 
info about what those diff objects contain you could try something like 
this:

diffs = Diff::LCS.diff(@line,@line2)

diffs.map(&:inspect)

That will output the contents of the object to a string so you can see 
what's there.

-- Josh
http://iammrjoshua.com

Mmcolli00 Mom wrote:
> I want to get the difference. I need the difference to prove what is 
> changing in some files and not in others. I'll run it routinely to check 
> file content.

-- 
Posted via http://www.ruby-forum.com/.