Skip to content

Instantly share code, notes, and snippets.

@wtnabe
Created April 10, 2009 10:44
Show Gist options
  • Save wtnabe/93033 to your computer and use it in GitHub Desktop.
Save wtnabe/93033 to your computer and use it in GitHub Desktop.
how to use Diff::LCS most quickly
Object::Diff::LCS.diff( lines_array, lines_array ).each { |d|
d.each { |c|
puts c.to_a.to_s
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment