Class: Svnx::Diff::HunkRanges
- Inherits:
-
Object
- Object
- Svnx::Diff::HunkRanges
- Defined in:
- lib/svnx/diff/elements.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(from, to) ⇒ HunkRanges
constructor
A new instance of HunkRanges.
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
#from ⇒ Object (readonly)
Returns the value of attribute from.
45 46 47 |
# File 'lib/svnx/diff/elements.rb', line 45 def from @from end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
46 47 48 |
# File 'lib/svnx/diff/elements.rb', line 46 def to @to end |