* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git] / sample / drb / dqin.rb
blob3ba1caa80c86b1a63ceceeeb3dafed9fb0eac39c
1 =begin
2  distributed Ruby --- store
3         Copyright (c) 1999-2000 Masatoshi SEKI 
4 =end
6 require 'drb/drb'
7 require 'dqlib'
9 there = ARGV.shift || raise("usage: #{$0} <server_uri>")
11 DRb.start_service
12 queue = DRbObject.new(nil, there)
13 queue.push(DQEntry.new(DRb.uri))