module Diff::LCS

def lcs(other, &block) # :yields: self[i] if there are matched subsequences

:yields: self[i] if there are matched subsequences
O.new('a').hash == O.new('a').hash
O.new('a').eql?(O.new('a')) == true &&

compare identically for key purposes. That is:
the methods +#hash+ and +#eql?+ such that two objects containing identical values
can be used as a key in a Hash. This means that those objects must implement
A note when using objects: Diff::LCS only works properly when each object

lcs = seq1.lcs(seq2)

+self+ and +other+. See Diff::LCS#lcs.
Returns an Array containing the longest common subsequence(s) between
def lcs(other, &block) # :yields: self[i] if there are matched subsequences
  Diff::LCS.lcs(self, other, &block)
end