From 612af3b7cbb1e6f1075e31b442477d1ad8e7a1e4 Mon Sep 17 00:00:00 2001 From: mame Date: Mon, 11 Dec 2017 04:46:57 +0000 Subject: [PATCH] lib/pp.rb: remove alias for suppressing a redefinition warning. Because there is now the same guard in prelude.rb (alias pp pp). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pp.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/pp.rb b/lib/pp.rb index bc15429ddc..74cdda072a 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -549,9 +549,6 @@ module Kernel PP.pp(self, ''.dup) end - # :stopdoc: - alias __pp_backup__ pp if method_defined?(:pp) - # :startdoc: # prints arguments in pretty form. # # pp returns argument(s). @@ -561,7 +558,6 @@ module Kernel } objs.size <= 1 ? objs.first : objs end - undef __pp_backup__ if method_defined?(:__pp_backup__) module_function :pp end