Class: Kugutsu::Scene
- Inherits:
-
Object
- Object
- Kugutsu::Scene
- Defined in:
- lib/kugutsu/scene.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
readonly
Returns the value of attribute actions.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, actions) ⇒ Scene
constructor
A new instance of Scene.
Constructor Details
#initialize(id, actions) ⇒ Scene
Returns a new instance of Scene.
5 6 7 8 |
# File 'lib/kugutsu/scene.rb', line 5 def initialize(id, actions) @id = id @actions = actions end |
Instance Attribute Details
#actions ⇒ Object (readonly)
Returns the value of attribute actions.
3 4 5 |
# File 'lib/kugutsu/scene.rb', line 3 def actions @actions end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/kugutsu/scene.rb', line 3 def id @id end |