1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
mame 2017-12-11 04:46:57 +00:00
parent 6b669d880c
commit 612af3b7cb

View file

@ -549,9 +549,6 @@ module Kernel
PP.pp(self, ''.dup) PP.pp(self, ''.dup)
end end
# :stopdoc:
alias __pp_backup__ pp if method_defined?(:pp)
# :startdoc:
# prints arguments in pretty form. # prints arguments in pretty form.
# #
# pp returns argument(s). # pp returns argument(s).
@ -561,7 +558,6 @@ module Kernel
} }
objs.size <= 1 ? objs.first : objs objs.size <= 1 ? objs.first : objs
end end
undef __pp_backup__ if method_defined?(:__pp_backup__)
module_function :pp module_function :pp
end end