Centralises the change test code in Diff::LCS::Change and Diff::LCS::ContextChange, since it’s the same for both classes.
# File lib/diff/lcs/change.rb, line 24
24: def adding?
25: @action == '+'
26: end
# File lib/diff/lcs/change.rb, line 32
32: def changed?
33: @changed == '!'
34: end
# File lib/diff/lcs/change.rb, line 20
20: def deleting?
21: @action == '-'
22: end
# File lib/diff/lcs/change.rb, line 36
36: def finished_a?
37: @changed == '>'
38: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.