summaryrefslogtreecommitdiff
path: root/lib/pp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb5
1 files 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
##