mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
pp.rb: rdoc
* lib/pp.rb (pp): move pp alias before its rdoc, not to prevent parsing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ec74acd1a9
commit
60771d1315
1 changed files with 1 additions and 1 deletions
|
@ -549,10 +549,10 @@ module Kernel
|
|||
PP.pp(self, ''.dup)
|
||||
end
|
||||
|
||||
alias __pp_backup__ pp if method_defined?(:pp)
|
||||
# prints arguments in pretty form.
|
||||
#
|
||||
# pp returns argument(s).
|
||||
alias __pp_backup__ pp if method_defined?(:pp)
|
||||
def pp(*objs)
|
||||
objs.each {|obj|
|
||||
PP.pp(obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue