Class: Gamefic::Active::Cue
- Inherits:
-
Object
- Object
- Gamefic::Active::Cue
- Defined in:
- lib/gamefic/active/cue.rb
Overview
The data that actors use to configure a Take.
Instance Attribute Summary collapse
- #context ⇒ Hash readonly
- #scene ⇒ Symbol readonly
Instance Method Summary collapse
-
#initialize(scene, **context) ⇒ Cue
constructor
A new instance of Cue.
- #to_s ⇒ Object
Constructor Details
#initialize(scene, **context) ⇒ Cue
Returns a new instance of Cue.
15 16 17 18 |
# File 'lib/gamefic/active/cue.rb', line 15 def initialize scene, **context @scene = scene @context = context end |
Instance Attribute Details
#context ⇒ Hash (readonly)
12 13 14 |
# File 'lib/gamefic/active/cue.rb', line 12 def context @context end |
#scene ⇒ Symbol (readonly)
9 10 11 |
# File 'lib/gamefic/active/cue.rb', line 9 def scene @scene end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'lib/gamefic/active/cue.rb', line 20 def to_s scene.to_s end |