Class: Anyt::RemoteControl::Server
- Inherits:
-
Object
- Object
- Anyt::RemoteControl::Server
- Defined in:
- lib/anyt/remote_control.rb
Instance Method Summary collapse
-
#initialize(port) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(port) ⇒ Server
Returns a new instance of Server.
13 14 15 16 17 18 |
# File 'lib/anyt/remote_control.rb', line 13 def initialize(port) DRb.start_service( "druby://localhost:#{port}", Client.new ) end |