[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / sample / drb / dlogc.rb
blob3939a718271c74f9fce3148446bb841a9318962d
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")