aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-01 03:54:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-01 03:54:49 +0000
commit3c358d5f6da0ad382ab43ea86a4bdf0942bc4db2 (patch)
tree7cfcc682cf7d8724ecda02e6addbfce76e40faa5 /lib/irb.rb
parentf4f9075c267b989321ca888ea6fab260bbb9dc8b (diff)
downloadruby-3c358d5f6da0ad382ab43ea86a4bdf0942bc4db2.tar.gz
prelude.rb: suppress redefinition warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index dcc160f140..b07bc80c95 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -703,7 +703,6 @@ end
class Binding
# :nodoc:
- undef irb if method_defined?(:irb)
def irb
IRB.setup(eval("__FILE__"))
workspace = IRB::WorkSpace.new(self)