Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=> irb
- require 'drb'
- #=> true
- $ts = DRbObject.new_with_uri('druby://localhost:12345')
- #=> #<DRb::DRbObject:0x10136d740 @uri="druby://localhost:12345", @ref=nil>
- $ts.write(["message", "Hello, world!"])
- #=> #<DRb::DRbObject:0x10135e060 @uri="druby://127.0.0.1:12345", @ref=2152218120>
- $ts.take(["message",nil])
- #=> ["message", "Hello, world!"]
Add Comment
Please, Sign In to add comment