diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-01 03:54:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-01 03:54:49 +0000 |
commit | 3c358d5f6da0ad382ab43ea86a4bdf0942bc4db2 (patch) | |
tree | 7cfcc682cf7d8724ecda02e6addbfce76e40faa5 /prelude.rb | |
parent | f4f9075c267b989321ca888ea6fab260bbb9dc8b (diff) | |
download | ruby-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 'prelude.rb')
-rw-r--r-- | prelude.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/prelude.rb b/prelude.rb index c0a8dfccfa..a693f46156 100644 --- a/prelude.rb +++ b/prelude.rb @@ -140,6 +140,9 @@ class Binding require 'irb' irb end + + # suppress redefinition warning + alias irb irb # :nodoc: end module Kernel @@ -150,4 +153,7 @@ module Kernel require 'pp' pp(*objs) end + + # suppress redefinition warning + alias pp pp # :nodoc: end |