From 19e6276125c9d0c98a1defec7254a0ded801f2a7 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 11 Nov 2016 03:04:38 +0000 Subject: Enable the document for Kernel[#.]pp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pp.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/pp.rb b/lib/pp.rb index 5356b7ce25..aa2b67a420 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -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 ## -- cgit v1.2.3