Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
require 'drb/drb'
|
||||
|
||||
# The URI to connect to
|
||||
SERVER_URI = "druby://localhost:8787"
|
||||
|
||||
# Start a local DRbServer to handle callbacks.
|
||||
#
|
||||
# Not necessary for this small example, but will be required
|
||||
# as soon as we pass a non-marshallable object as an argument
|
||||
# to a dRuby call.
|
||||
DRb.start_service
|
||||
|
||||
timeserver = DRbObject.new_with_uri(SERVER_URI)
|
||||
puts timeserver.get_current_time
|
||||
Loading…
Add table
Add a link
Reference in a new issue