Class: FyipeTimelineManager
- Inherits:
-
Object
- Object
- FyipeTimelineManager
- Defined in:
- lib/fyipe/timelineManager.rb
Instance Method Summary collapse
- #addToTimeline(item) ⇒ Object
-
#clearTimeline ⇒ Object
clear the timeline.
-
#getTimeline ⇒ Object
return the timeline.
-
#initialize(options) ⇒ FyipeTimelineManager
constructor
A new instance of FyipeTimelineManager.
Constructor Details
#initialize(options) ⇒ FyipeTimelineManager
Returns a new instance of FyipeTimelineManager.
2 3 4 5 |
# File 'lib/fyipe/timelineManager.rb', line 2 def initialize() = @timeLineStack = [] end |
Instance Method Details
#addToTimeline(item) ⇒ Object
8 9 10 |
# File 'lib/fyipe/timelineManager.rb', line 8 def addToTimeline(item) addItemToTimeline(item) end |
#clearTimeline ⇒ Object
clear the timeline
18 19 20 |
# File 'lib/fyipe/timelineManager.rb', line 18 def clearTimeline() @timeLineStack = [] end |
#getTimeline ⇒ Object
return the timeline
13 14 15 |
# File 'lib/fyipe/timelineManager.rb', line 13 def getTimeline() return @timeLineStack end |