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.
VALID_ACTIONS | = | %W(+ - = ! > <) | The only actions valid for changes are ’+’ (add), ’-’ (delete), ’=’ (no change), ’!’ (changed), ’<’ (tail changes from first sequence), or ’>’ (tail changes from second sequence). The last two (’<>’) are only found with Diff::LCS::diff and Diff::LCS::sdiff. |