20 lines
573 B
Ruby
20 lines
573 B
Ruby
#! /usr/env/bin ruby
|
|
#--
|
|
# Copyright 2004 Austin Ziegler <diff-lcs@halostatue.ca>
|
|
# adapted from:
|
|
# Algorithm::Diff (Perl) by Ned Konz <perl@bike-nomad.com>
|
|
# Smalltalk by Mario I. Wolczko <mario@wolczko.com>
|
|
# implements McIlroy-Hunt diff algorithm
|
|
#
|
|
# This program is free software. It may be redistributed and/or modified under
|
|
# the terms of the GPL version 2 (or later), the Perl Artistic licence, or the
|
|
# Ruby licence.
|
|
#
|
|
# $Id: string.rb,v 1.3 2004/08/08 20:33:09 austin Exp $
|
|
#++
|
|
# Includes Diff::LCS into String.
|
|
|
|
class String
|
|
include Diff::LCS
|
|
end
|