diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-16 16:55:29 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-16 16:55:29 +0000 |
commit | 6f64d9eb56ef58b73df7f653ece55742129ddbe4 (patch) | |
tree | 86a730c1131769c475435b40d4e7ac52ebbbee34 /lib/irb | |
parent | f45f668fa14104dab9c0e7712b6f3a3ab3d26558 (diff) | |
download | ruby-6f64d9eb56ef58b73df7f653ece55742129ddbe4.tar.gz |
* lib/cgi/core.rb: Use symbols instead of strings for
{const_,instance_variable_}{get,set}. [#7161]
* lib/drb/drb.rb: ditto.
* lib/ipaddr.rb: ditto.
* lib/irb/workspace.rb: ditto.
* lib/monitor.rb: ditto.
* lib/rss/maker/base.rb: ditto.
* lib/rss/rss.rb: ditto.
* lib/xmlrpc/parser.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/workspace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/workspace.rb b/lib/irb/workspace.rb index edc0d3b147..a8d4a90ad8 100644 --- a/lib/irb/workspace.rb +++ b/lib/irb/workspace.rb @@ -38,7 +38,7 @@ EOF unless defined? BINDING_QUEUE require "thread" - IRB.const_set("BINDING_QUEUE", SizedQueue.new(1)) + IRB.const_set(:BINDING_QUEUE, SizedQueue.new(1)) Thread.abort_on_exception = true Thread.start do eval "require \"irb/ws-for-case-2\"", TOPLEVEL_BINDING, __FILE__, __LINE__ |