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