summaryrefslogtreecommitdiff
path: root/sample/drb/darray.rb
blob: 95ee01ff03746bded2b050e697e0ebe3f5bba38e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
=begin
 distributed Ruby --- Array
 	Copyright (c) 1999-2001 Masatoshi SEKI 
=end

require 'drb/drb'

here = ARGV.shift
DRb.start_service(here, [1, 2, "III", 4, "five", 6])
puts DRb.uri
DRb.thread.join