diff options
Diffstat (limited to 'lib/diff/lcs.rb')
-rw-r--r-- | lib/diff/lcs.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/diff/lcs.rb b/lib/diff/lcs.rb index 8425d15..38dff6e 100644 --- a/lib/diff/lcs.rb +++ b/lib/diff/lcs.rb @@ -250,8 +250,9 @@ class << Diff::LCS # advance that arrow and will call <tt>callbacks#discard_a</tt> or # <tt>callbacks#discard_b</tt>, depending on which arrow it advanced. If both # arrows point to elements that are not part of the longest common - # subsequence, then #traverse_sequences will advance one of them and call the - # appropriate callback, but it is not specified which it will call. + # subsequence, then #traverse_sequences will advance arrow +a+ and call the + # appropriate callback, then it will advance arrow +b+ and call the appropriate + # callback. # # The methods for <tt>callbacks#match</tt>, <tt>callbacks#discard_a</tt>, and # <tt>callbacks#discard_b</tt> are invoked with an event comprising the |