* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git] / sample / drb / dlogc.rb
blobc75bc7b520ca59728dc7ddb5bd5003332e3702bc
1 =begin
2  distributed Ruby --- Log test
3         Copyright (c) 1999-2001 Masatoshi SEKI 
4 =end
6 require 'drb/drb'
8 there = ARGV.shift || raise("usage: #{$0} <server_uri>")
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")