struct Diff

Defined in:

diff.cr
diff/box.cr
diff/differ.cr
diff/differs/myers.cr
diff/differs/myers_linear.cr
diff/edit.cr
diff/line.cr
diff/printer.cr
diff/version.cr

Constant Summary

VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(a : String, b : String, differ : Differ.class = Myers) #

[View source]
def self.new(a : String, b : String, differ = Myers) #

[View source]
def self.new(a : IO, b : IO, differ = Myers) #

[View source]

Instance Method Detail

def lines(document) #

[View source]
def to_s(io : IO, colorize = true) #
Description copied from struct Struct

Same as #inspect(io).


[View source]