Class: Svnx::Diff::SvnFileDiff

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

Overview

all diffs for one file

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#headerObject (readonly)

Returns the value of attribute header.



78
79
80
# File 'lib/svnx/diff/elements.rb', line 78

def header
  @header
end

#hunksObject (readonly)

Returns the value of attribute hunks.



79
80
81
# File 'lib/svnx/diff/elements.rb', line 79

def hunks
  @hunks
end