Class: Xberg::DiffHunk
- Inherits:
-
Object
- Object
- Xberg::DiffHunk
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#from_count ⇒ Integer
readonly
Returns the value of attribute from_count.
-
#from_line ⇒ Integer
readonly
Returns the value of attribute from_line.
-
#lines ⇒ Array[DiffLine]
readonly
Returns the value of attribute lines.
-
#to_count ⇒ Integer
readonly
Returns the value of attribute to_count.
-
#to_line ⇒ Integer
readonly
Returns the value of attribute to_line.
Instance Method Summary collapse
-
#initialize ⇒ DiffHunk
constructor
A new instance of DiffHunk.
Constructor Details
#initialize ⇒ DiffHunk
Returns a new instance of DiffHunk.
1759 |
# File 'sig/types.rbs', line 1759
def initialize: (from_line: Integer, from_count: Integer, to_line: Integer, to_count: Integer, lines: Array[DiffLine]) -> void
|
Instance Attribute Details
#from_count ⇒ Integer (readonly)
Returns the value of attribute from_count.
1754 1755 1756 |
# File 'sig/types.rbs', line 1754 def from_count @from_count end |
#from_line ⇒ Integer (readonly)
Returns the value of attribute from_line.
1753 1754 1755 |
# File 'sig/types.rbs', line 1753 def from_line @from_line end |
#lines ⇒ Array[DiffLine] (readonly)
Returns the value of attribute lines.
1757 1758 1759 |
# File 'sig/types.rbs', line 1757 def lines @lines end |
#to_count ⇒ Integer (readonly)
Returns the value of attribute to_count.
1756 1757 1758 |
# File 'sig/types.rbs', line 1756 def to_count @to_count end |
#to_line ⇒ Integer (readonly)
Returns the value of attribute to_line.
1755 1756 1757 |
# File 'sig/types.rbs', line 1755 def to_line @to_line end |