Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
diff
master
Diff
Box
Differ
Edit
Type
Line
Myers
MyersLinear
Printer
Built with Crystal 1.9.2
2023-10-07 21:37:34 UTC
struct
Diff::Line
Diff::Line
Struct
Value
Object
Defined in:
diff/line.cr
Constructors
.new
(number : Int32, text : String)
Instance Method Summary
#clone
#copy_with
(number _number = @number, text _text = @text)
#number
: Int32
#text
: String
Constructor Detail
def self.
new
(number : Int32, text : String)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(number _number = @number, text _text = @text)
#
[
View source
]
def
number
: Int32
#
def
text
: String
#