Class: Revision::Parent
- Inherits:
-
Struct
- Object
- Struct
- Revision::Parent
- Defined in:
- lib/revision.rb
Instance Attribute Summary collapse
-
#n ⇒ Object
Returns the value of attribute n.
-
#rev ⇒ Object
Returns the value of attribute rev.
Instance Method Summary collapse
Instance Attribute Details
#n ⇒ Object
Returns the value of attribute n
11 12 13 |
# File 'lib/revision.rb', line 11 def n @n end |
#rev ⇒ Object
Returns the value of attribute rev
11 12 13 |
# File 'lib/revision.rb', line 11 def rev @rev end |
Instance Method Details
#resolve(context) ⇒ Object
12 13 14 |
# File 'lib/revision.rb', line 12 def resolve(context) context.commit_parent(rev.resolve(context), n) end |