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 def adding? @action == '+' end
# File lib/diff/lcs/change.rb, line 32 def changed? @changed == '!' end
# File lib/diff/lcs/change.rb, line 20 def deleting? @action == '-' end
# File lib/diff/lcs/change.rb, line 36 def finished_a? @changed == '>' end
# File lib/diff/lcs/change.rb, line 40 def finished_b? @changed == '<' end
# File lib/diff/lcs/change.rb, line 28 def unchanged? @action == '=' end