mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/pp.rb: fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e56d645f0
commit
483fd7485b
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Dec 4 12:11:28 2011 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||
|
||||
* lib/pp.rb: fix rdoc.
|
||||
|
||||
Sun Dec 4 12:03:16 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/delegate.rb (Delegator#methods): Kernel#methods receives
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue