2 distributed Ruby --- dRuby Sample Server
3 Copyright (c) 1999-2000,2002 Masatoshi SEKI
11 | druby://yourhost:7640
14 | % ruby drbc.rb druby://yourhost:7640
30 cntxt = Thread.current['DRb']
33 p cntxt['client'].peeraddr
43 a.to_i + b.to_i + c.to_i
52 class FooError < RuntimeError
56 DRb.start_service(ARGV.shift || 'druby://:7640', DRbEx.new)