Class: Svnx::Diff::HunkRanges

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(from, to) ⇒ HunkRanges

Returns a new instance of HunkRanges.



48
49
50
51
# File 'lib/svnx/diff/elements.rb', line 48

def initialize from, to
  @from = from
  @to = to
end

Instance Attribute Details

#fromObject (readonly)

Returns the value of attribute from.



45
46
47
# File 'lib/svnx/diff/elements.rb', line 45

def from
  @from
end

#toObject (readonly)

Returns the value of attribute to.



46
47
48
# File 'lib/svnx/diff/elements.rb', line 46

def to
  @to
end