зеркало из https://github.com/github/ruby.git
* 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:
Родитель
6e56d645f0
Коммит
483fd7485b
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче