Class: Giblish::FileHistory

Inherits:
Object
  • Object
show all
Defined in:
lib/giblish/conversion_info.rb

Defined Under Namespace

Classes: LogEntry

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#branchObject

Returns the value of attribute branch.



8
9
10
# File 'lib/giblish/conversion_info.rb', line 8

def branch
  @branch
end

#historyObject

Returns the value of attribute history.



8
9
10
# File 'lib/giblish/conversion_info.rb', line 8

def history
  @history
end