Class: Svnx::Diff::SvnFileDiff
- Inherits:
-
Object
- Object
- Svnx::Diff::SvnFileDiff
- Defined in:
- lib/svnx/diff/elements.rb
Overview
all diffs for one file
Instance Attribute Summary collapse
-
#header ⇒ Object
readonly
Returns the value of attribute header.
-
#hunks ⇒ Object
readonly
Returns the value of attribute hunks.
Instance Method Summary collapse
-
#initialize(header, hunks = Array.new) ⇒ SvnFileDiff
constructor
A new instance of SvnFileDiff.
Constructor Details
#initialize(header, hunks = Array.new) ⇒ SvnFileDiff
Returns a new instance of SvnFileDiff.
81 82 83 84 |
# File 'lib/svnx/diff/elements.rb', line 81 def initialize header, hunks = Array.new @header = header @hunks = hunks end |
Instance Attribute Details
#header ⇒ Object (readonly)
Returns the value of attribute header.
78 79 80 |
# File 'lib/svnx/diff/elements.rb', line 78 def header @header end |
#hunks ⇒ Object (readonly)
Returns the value of attribute hunks.
79 80 81 |
# File 'lib/svnx/diff/elements.rb', line 79 def hunks @hunks end |