Class: Svnx::Diff::File

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ File

Returns a new instance of File.



16
17
18
19
# File 'lib/svnx/diff/elements.rb', line 16

def initialize args
  @filename = args[:filename]
  @revision = args[:revision]
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



13
14
15
# File 'lib/svnx/diff/elements.rb', line 13

def filename
  @filename
end

#revisionObject (readonly)

Returns the value of attribute revision.



14
15
16
# File 'lib/svnx/diff/elements.rb', line 14

def revision
  @revision
end