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
/
dlogc.rb
blob
c75bc7b520ca59728dc7ddb5bd5003332e3702bc
1
=begin
2
distributed Ruby --- Log test
3
Copyright (c) 1999-2001 Masatoshi SEKI
4
=end
5
6
require 'drb/drb'
7
8
there = ARGV.shift || raise("usage: #{$0} <server_uri>")
9
10
DRb.start_service
11
ro = DRbObject.new(nil, there)
12
ro.log(123)
13
ro.log("hello")
14
sleep 2
15
ro.log("wakeup")
16