Class: Anyt::RemoteControl::Client
- Inherits:
-
Object
- Object
- Anyt::RemoteControl::Client
- Defined in:
- lib/anyt/remote_control.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.connect(port) ⇒ Object
22 23 24 25 26 |
# File 'lib/anyt/remote_control.rb', line 22 def self.connect(port) DRb.start_service DRbObject.new_with_uri("druby://localhost:#{port}") end |
Instance Method Details
#restart_action_cable ⇒ Object
28 29 30 |
# File 'lib/anyt/remote_control.rb', line 28 def restart_action_cable ActionCable.server.restart end |