Class: Maestro::Command::StateUpdater
- Inherits:
-
StoryUpdater
- Object
- Maestro::Command
- StoryUpdater
- Maestro::Command::StateUpdater
- Defined in:
- lib/commands/story_commands.rb
Class Attribute Summary collapse
-
.state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(number) ⇒ StateUpdater
constructor
A new instance of StateUpdater.
- #invoke ⇒ Object
Methods inherited from Maestro::Command
Constructor Details
#initialize(number) ⇒ StateUpdater
Returns a new instance of StateUpdater.
54 55 56 |
# File 'lib/commands/story_commands.rb', line 54 def initialize(number) @number = number end |
Class Attribute Details
.state ⇒ Object (readonly)
Returns the value of attribute state.
52 53 54 |
# File 'lib/commands/story_commands.rb', line 52 def state @state end |
Instance Method Details
#invoke ⇒ Object
58 59 60 |
# File 'lib/commands/story_commands.rb', line 58 def invoke update_state end |