Class: Svnx::Diff::File
- Inherits:
-
Object
- Object
- Svnx::Diff::File
- Defined in:
- lib/svnx/diff/elements.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#revision ⇒ Object
readonly
Returns the value of attribute revision.
Instance Method Summary collapse
-
#initialize(args) ⇒ File
constructor
A new instance of File.
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
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
13 14 15 |
# File 'lib/svnx/diff/elements.rb', line 13 def filename @filename end |
#revision ⇒ Object (readonly)
Returns the value of attribute revision.
14 15 16 |
# File 'lib/svnx/diff/elements.rb', line 14 def revision @revision end |