summaryrefslogtreecommitdiff
path: root/lib/pp.rb
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-04 03:12:54 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-04 03:12:54 +0000
commit483fd7485ba07a03426900da7d8397c0b0d99af7 (patch)
treecaf0532bb462a5644f7fae86401c60af53be078e /lib/pp.rb
parent6e56d645f0e176f7186027d0e0964ca62f4d4b6f (diff)
* lib/pp.rb: fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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,