diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-08 07:00:01 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-08 07:00:01 +0000 |
commit | 6064132c42ffe99e9a0d3a6ba80a7932c6f7903d (patch) | |
tree | 98ea21370a09a06240cd88eef3320ef565240e02 /lib/irb | |
parent | 838a91633c3a50f43bcc4ccec11b41b5a102fd90 (diff) | |
download | ruby-6064132c42ffe99e9a0d3a6ba80a7932c6f7903d.tar.gz |
Remove unnecessary `require 'thread'`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/ext/multi-irb.rb | 1 | ||||
-rw-r--r-- | lib/irb/workspace.rb | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/irb/ext/multi-irb.rb b/lib/irb/ext/multi-irb.rb index 982a319611..28d6fba832 100644 --- a/lib/irb/ext/multi-irb.rb +++ b/lib/irb/ext/multi-irb.rb @@ -10,7 +10,6 @@ # # IRB.fail CantShiftToMultiIrbMode unless defined?(Thread) -require "thread" module IRB class JobManager diff --git a/lib/irb/workspace.rb b/lib/irb/workspace.rb index 16f714d66e..9051f96df0 100644 --- a/lib/irb/workspace.rb +++ b/lib/irb/workspace.rb @@ -39,8 +39,6 @@ EOF when 2 # binding in loaded file(thread use) unless defined? BINDING_QUEUE - require "thread" - IRB.const_set(:BINDING_QUEUE, Thread::SizedQueue.new(1)) Thread.abort_on_exception = true Thread.start do |