diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-11 03:04:38 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-11 03:04:38 +0000 |
commit | 19e6276125c9d0c98a1defec7254a0ded801f2a7 (patch) | |
tree | e682a4ef2cefb9b41120b6a8c46361ff46996af4 /lib/pp.rb | |
parent | def18ca59dce941a3c7ed776f14fc273eb987800 (diff) | |
download | ruby-19e6276125c9d0c98a1defec7254a0ded801f2a7.tar.gz |
Enable the document for Kernel[#.]pp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pp.rb')
-rw-r--r-- | lib/pp.rb | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -14,17 +14,16 @@ module Kernel PP.pp(self, ''.dup) end - private # prints arguments in pretty form. # # pp returns argument(s). - def pp(*objs) # :nodoc: + def pp(*objs) objs.each {|obj| PP.pp(obj) } objs.size <= 1 ? objs.first : objs end - module_function :pp # :nodoc: + module_function :pp end ## |