Class: Idml::Render::StoryChainController::State
- Inherits:
-
Struct
- Object
- Struct
- Idml::Render::StoryChainController::State
- Defined in:
- lib/idml/render/story_chain_controller.rb
Overview
paragraphs : Arraycurrent_paragraph : Paragraph in progress (nil if none)
runs_remaining : Arraychar_cursor : global character cursor (for hyperlink tracking)
Instance Attribute Summary collapse
-
#char_cursor ⇒ Object
Returns the value of attribute char_cursor.
-
#current_paragraph ⇒ Object
Returns the value of attribute current_paragraph.
-
#paragraphs ⇒ Object
Returns the value of attribute paragraphs.
-
#runs_remaining ⇒ Object
Returns the value of attribute runs_remaining.
Instance Attribute Details
#char_cursor ⇒ Object
Returns the value of attribute char_cursor
23 24 25 |
# File 'lib/idml/render/story_chain_controller.rb', line 23 def char_cursor @char_cursor end |
#current_paragraph ⇒ Object
Returns the value of attribute current_paragraph
23 24 25 |
# File 'lib/idml/render/story_chain_controller.rb', line 23 def current_paragraph @current_paragraph end |
#paragraphs ⇒ Object
Returns the value of attribute paragraphs
23 24 25 |
# File 'lib/idml/render/story_chain_controller.rb', line 23 def paragraphs @paragraphs end |
#runs_remaining ⇒ Object
Returns the value of attribute runs_remaining
23 24 25 |
# File 'lib/idml/render/story_chain_controller.rb', line 23 def runs_remaining @runs_remaining end |