mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
import drb/sample
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2766990624
commit
a686414ef5
44 changed files with 1966 additions and 0 deletions
13
sample/drb/darray.rb
Normal file
13
sample/drb/darray.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
=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
|
||||
puts '[return] to exit'
|
||||
gets
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue