Class: Svnx::Diff::HunkRange

Inherits:
Object
  • Object
show all
Defined in:
lib/svnx/diff/elements.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lengthObject (readonly)

Returns the value of attribute length.



36
37
38
# File 'lib/svnx/diff/elements.rb', line 36

def length
  @length
end

#lineObject (readonly)

Returns the value of attribute line.



35
36
37
# File 'lib/svnx/diff/elements.rb', line 35

def line
  @line
end