Class: UU::RemoteServer
- Inherits:
-
Object
- Object
- UU::RemoteServer
- Defined in:
- lib/uu/remote_server.rb
Instance Method Summary collapse
-
#initialize(uri) ⇒ RemoteServer
constructor
A new instance of RemoteServer.
- #join ⇒ Object
Constructor Details
#initialize(uri) ⇒ RemoteServer
Returns a new instance of RemoteServer.
9 10 11 |
# File 'lib/uu/remote_server.rb', line 9 def initialize(uri) DRb.start_service(uri, UU::RemoteHelper.new) end |
Instance Method Details
#join ⇒ Object
13 14 15 |
# File 'lib/uu/remote_server.rb', line 13 def join DRb.thread.join end |