#{name}!"
end
end
# オブジェクトを公開
DRb.start_service('druby://localhost:8787', HelloWorld.new)
DRb.thread.join
サーバー側 require 'drb'
# リモートオブジェクトへの接続
DRb.start_service
hello = DRbObject.new_with_uri('druby://localhost: 8787')
puts hello.say_hello("関西Ruby会議") # => "Hello, 関西Ruby会議!"
クライアント側