diff options
author | Austin Ziegler <austin@zieglers.ca> | 2013-01-19 20:44:41 -0500 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2013-01-19 20:44:41 -0500 |
commit | 56ce5139362e4e4fa26ceb763c79deee67489106 (patch) | |
tree | ad92d2cc3d9d34142f8fa58dad817f4f5440f8c9 /lib/diff/lcs/array.rb | |
parent | 07a0a2b43da3ebe18192d850d5650a3f94f93198 (diff) | |
download | diff-lcs-56ce5139362e4e4fa26ceb763c79deee67489106.tar.gz |
Reformatting.
- Bringing indents in a little.
- Simplifying a little logic so that boolean shortcuts are taken faster.
Diffstat (limited to 'lib/diff/lcs/array.rb')
-rw-r--r-- | lib/diff/lcs/array.rb | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/diff/lcs/array.rb b/lib/diff/lcs/array.rb index ebad1d0..1acd8c9 100644 --- a/lib/diff/lcs/array.rb +++ b/lib/diff/lcs/array.rb @@ -1,17 +1,4 @@ -#-- -# 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$ -#++ -# Includes Diff::LCS into the Array built-in class. +# -*- ruby encoding: utf-8 -*- require 'diff/lcs' |