LCS (Diff::LCS)

         # File lib/diff/lcs.rb, line 230
    230:     def LCS(seq1, seq2, &block) #:yields seq1[ii] for each matched:
    231:       matches = Diff::LCS.__lcs(seq1, seq2)
    232:       ret = []
    233:       matches.each_with_index do |ee, ii|
    234:         unless matches[ii].nil?
    235:           if block_given?
    236:             ret << (yield seq1[ii])
    237:           else
    238:             ret << seq1[ii]
    239:           end
    240:         end
    241:       end
    242:       ret
    243:     end