[前][次][番号順一覧][スレッド一覧]

ruby-changes:44626

From: akr <ko1@a...>
Date: Fri, 11 Nov 2016 12:04:43 +0900 (JST)
Subject: [ruby-changes:44626] akr:r56699 (trunk): Enable the document for Kernel[#.]pp.

akr	2016-11-11 12:04:38 +0900 (Fri, 11 Nov 2016)

  New Revision: 56699

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56699

  Log:
    Enable the document for Kernel[#.]pp.

  Modified files:
    trunk/lib/pp.rb
Index: lib/pp.rb
===================================================================
--- lib/pp.rb	(revision 56698)
+++ lib/pp.rb	(revision 56699)
@@ -14,17 +14,16 @@ module Kernel https://github.com/ruby/ruby/blob/trunk/lib/pp.rb#L14
     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
 
 ##

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]