Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Diff
Inherits
Struct
/
Value
/
Object
Constants
VERSION = "0.1.0"
Constructors
new
(a :
String
, b :
String
, differ :
Differ
.class =
Myers
)
Source
new
(a :
String
, b :
String
, differ =
Myers
)
Source
new
(a :
IO
, b :
IO
, differ =
Myers
)
Source
Instance methods
lines
(document)
Source
to_s
(io :
IO
, colorize = true)
Same as
#inspect(io)
.
Source
Nested types
Diff::Box
Diff::Differ
Diff::Edit
Diff::Line
Diff::Myers
Diff::MyersLinear
Diff::Printer