OSDN Git Service
(root)
/
splhack
/
AndroidRuby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ruby-1.9.1-rc1
[splhack/AndroidRuby.git]
/
lib
/
ruby-1.9.1-rc1
/
sample
/
drb
/
dqout.rb
1
=begin
2
distributed Ruby --- fetch
3
Copyright (c) 1999-2000 Masatoshi SEKI
4
=end
5
6
require 'drb/drb'
7
require 'dqlib'
8
9
there = ARGV.shift || raise("usage: #{$0} <server_uri>")
10
11
DRb.start_service
12
queue = DRbObject.new(nil, there)
13
entry = queue.pop
14
puts entry.greeting