Class: Spurious::Server::State::Update
- Defined in:
- lib/spurious/server/state/update.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Spurious::Server::State::Base
Instance Method Details
#execute! ⇒ Object
11 12 13 14 15 |
# File 'lib/spurious/server/state/update.rb', line 11 def execute! ['stop', 'delete', 'init', 'up'].each do |state| connection.receive_data(JSON.generate({:type => state})) end end |