class Anyt::RemoteControl::Client

Public Class Methods

connect(port) click to toggle source
# File lib/anyt/remote_control.rb, line 22
def self.connect(port)
  DRb.start_service

  DRbObject.new_with_uri("druby://localhost:#{port}")
end

Public Instance Methods

restart_action_cable() click to toggle source
# File lib/anyt/remote_control.rb, line 28
def restart_action_cable
  ActionCable.server.restart
end