Class: Svnx::Diff::HunkRange
- Inherits:
-
Object
- Object
- Svnx::Diff::HunkRange
- Defined in:
- lib/svnx/diff/elements.rb
Instance Attribute Summary collapse
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(line, length) ⇒ HunkRange
constructor
A new instance of HunkRange.
Constructor Details
#initialize(line, length) ⇒ HunkRange
Returns a new instance of HunkRange.
38 39 40 41 |
# File 'lib/svnx/diff/elements.rb', line 38 def initialize line, length @line = line @length = length end |
Instance Attribute Details
#length ⇒ Object (readonly)
Returns the value of attribute length.
36 37 38 |
# File 'lib/svnx/diff/elements.rb', line 36 def length @length end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
35 36 37 |
# File 'lib/svnx/diff/elements.rb', line 35 def line @line end |