summaryrefslogtreecommitdiff
path: root/jni/ruby/sample/drb/darray.rb
blob: d2ac39513f4a6dcea94db9d8f446af4d6c7239e5 (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