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