Class | Diff::LCS::Change |
In: |
lib/diff/lcs/change.rb
|
Parent: | Object |
Represents a simplistic (non-contextual) change. Represents the removal or addition of an element from either the old or the new sequenced enumerable.
action | [R] | Returns the action this Change represents. Can be ’+’ (adding?), ’-’ (deleting?), ’=’ (unchanged?), # or ’!’ (changed?). When created by Diff::LCS#diff or Diff::LCS#sdiff, it may also be ’>’ (finished_a?) or ’<’ (finished_b?). |
element | [R] | |
position | [R] |