repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git]
/
sample
/
drb
/
dqout.rb
blob
4700e55cf7c8d6e3d5d6710f033aea30e0896f9b
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