diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 06:22:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 06:22:30 +0000 |
commit | 4b298ad77a8388f0aae62daeca66659a8effeade (patch) | |
tree | 163674f4123bf461a86b4f6fd1de964297057bae /sample/drb/dlogd.rb | |
parent | 0df79477bd2cd534ad2d89bfdbf9708c64b59eed (diff) | |
download | ruby-4b298ad77a8388f0aae62daeca66659a8effeade.tar.gz |
Use qualified names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/drb/dlogd.rb')
-rw-r--r-- | sample/drb/dlogd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/drb/dlogd.rb b/sample/drb/dlogd.rb index 42f302e64e..be364511dc 100644 --- a/sample/drb/dlogd.rb +++ b/sample/drb/dlogd.rb @@ -10,7 +10,7 @@ class Logger def initialize(fname) @fname = fname.to_s @fp = File.open(@fname, "a+") - @queue = Queue.new + @queue = Thread::Queue.new @th = Thread.new { self.flush } end |