Class: Svnx::Diff::Header

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Header

Returns a new instance of Header.



27
28
29
30
31
# File 'lib/svnx/diff/elements.rb', line 27

def initialize args
  @filename = args[:filename]
  @from = args[:from]
  @to = args[:to]
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



23
24
25
# File 'lib/svnx/diff/elements.rb', line 23

def filename
  @filename
end

#fromObject (readonly)

Returns the value of attribute from.



24
25
26
# File 'lib/svnx/diff/elements.rb', line 24

def from
  @from
end

#toObject (readonly)

Returns the value of attribute to.



25
26
27
# File 'lib/svnx/diff/elements.rb', line 25

def to
  @to
end