summaryrefslogtreecommitdiff
path: root/lib/pp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index d8f12f7b4d..94269abe65 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -48,11 +48,13 @@ end
#
# = Usage
#
-# pp(obj)
+# pp(obj) #=> obj
+# pp(obj1, obj2, ...) #=> [obj1, obj2, ...]
+# pp() #=> nil
#
-# output +obj+ to +$>+ in pretty printed format.
+# output +obj(s)+ to +$>+ in pretty printed format.
#
-# It returns +nil+.
+# It returns +obj(s)+.
#
# = Output Customization
# To define your customized pretty printing function for your classes,