Class: Giblish::FileHistory
- Inherits:
-
Object
- Object
- Giblish::FileHistory
- Defined in:
- lib/giblish/conversion_info.rb
Defined Under Namespace
Classes: LogEntry
Instance Attribute Summary collapse
-
#branch ⇒ Object
Returns the value of attribute branch.
-
#history ⇒ Object
Returns the value of attribute history.
Instance Method Summary collapse
-
#initialize(branch) ⇒ FileHistory
constructor
A new instance of FileHistory.
Constructor Details
#initialize(branch) ⇒ FileHistory
Returns a new instance of FileHistory.
10 11 12 13 |
# File 'lib/giblish/conversion_info.rb', line 10 def initialize(branch) @branch = branch @history = [] end |
Instance Attribute Details
#branch ⇒ Object
Returns the value of attribute branch.
8 9 10 |
# File 'lib/giblish/conversion_info.rb', line 8 def branch @branch end |
#history ⇒ Object
Returns the value of attribute history.
8 9 10 |
# File 'lib/giblish/conversion_info.rb', line 8 def history @history end |