summaryrefslogtreecommitdiff
path: root/sample/drb/rinda_ts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/rinda_ts.rb')
-rw-r--r--sample/drb/rinda_ts.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/sample/drb/rinda_ts.rb b/sample/drb/rinda_ts.rb
new file mode 100644
index 0000000..6f2fae5
--- /dev/null
+++ b/sample/drb/rinda_ts.rb
@@ -0,0 +1,7 @@
+require 'drb/drb'
+require 'rinda/tuplespace'
+
+uri = ARGV.shift
+DRb.start_service(uri, Rinda::TupleSpace.new)
+puts DRb.uri
+DRb.thread.join