Class: FyipeTimelineManager

Inherits:
Object
  • Object
show all
Defined in:
lib/fyipe/timelineManager.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ FyipeTimelineManager

Returns a new instance of FyipeTimelineManager.



2
3
4
5
# File 'lib/fyipe/timelineManager.rb', line 2

def initialize(options)
    @options = options
    @timeLineStack = []
end

Instance Method Details

#addToTimeline(item) ⇒ Object



8
9
10
# File 'lib/fyipe/timelineManager.rb', line 8

def addToTimeline(item)
    addItemToTimeline(item)
end

#clearTimelineObject

clear the timeline



18
19
20
# File 'lib/fyipe/timelineManager.rb', line 18

def clearTimeline()
    @timeLineStack = []
end

#getTimelineObject

return the timeline



13
14
15
# File 'lib/fyipe/timelineManager.rb', line 13

def getTimeline()
    return @timeLineStack
end