summaryrefslogtreecommitdiffstats
path: root/sample/drb/dhasen.rb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-27 15:36:32 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-27 15:36:32 +0000
commitbea4d32716d950214bfa48bf725540102cf22e2b (patch)
tree87ae99fdd7a106a913536aac8d579c6495048c0e /sample/drb/dhasen.rb
parent43d63e82818a74ec830eecbf16dcbe8e24ba51f3 (diff)
downloadruby-bea4d32716d950214bfa48bf725540102cf22e2b.tar.gz
ruby-bea4d32716d950214bfa48bf725540102cf22e2b.tar.xz
ruby-bea4d32716d950214bfa48bf725540102cf22e2b.zip
using "DRb.thread.join" instead of "gets"
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/drb/dhasen.rb')
-rw-r--r--sample/drb/dhasen.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/drb/dhasen.rb b/sample/drb/dhasen.rb
index 5dac88853..fb1724afa 100644
--- a/sample/drb/dhasen.rb
+++ b/sample/drb/dhasen.rb
@@ -37,7 +37,6 @@ end
if __FILE__ == $0
DRb.start_service(nil, Dhasen.new)
puts DRb.uri
- puts '[return] to exit.'
- gets
+ DRb.thread.join
end