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
/
dqin.rb
blob
3ba1caa80c86b1a63ceceeeb3dafed9fb0eac39c
1
=begin
2
distributed Ruby --- store
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
queue.push(DQEntry.new(DRb.uri))