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

ruby-changes:15394

From: naruse <ko1@a...>
Date: Sun, 11 Apr 2010 07:09:18 +0900 (JST)
Subject: [ruby-changes:15394] Ruby:r27287 (trunk): Fix :nodoc: definition.

naruse	2010-04-11 07:09:09 +0900 (Sun, 11 Apr 2010)

  New Revision: 27287

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27287

  Log:
    Fix :nodoc: definition. [ruby-dev:40949]

  Modified files:
    trunk/lib/delegate.rb
    trunk/prelude.rb

Index: prelude.rb
===================================================================
--- prelude.rb	(revision 27286)
+++ prelude.rb	(revision 27287)
@@ -15,8 +15,7 @@
 end
 
 class Thread
-  # :nodoc:
-  MUTEX_FOR_THREAD_EXCLUSIVE = Mutex.new
+  MUTEX_FOR_THREAD_EXCLUSIVE = Mutex.new # :nodoc:
 
   # call-seq:
   #    Thread.exclusive { block }   => obj
Index: lib/delegate.rb
===================================================================
--- lib/delegate.rb	(revision 27286)
+++ lib/delegate.rb	(revision 27287)
@@ -204,12 +204,10 @@
     end
   end
 
-  # :nodoc:
-  def initialize_clone(obj)
+  def initialize_clone(obj) # :nodoc:
     self.__setobj__(obj.__getobj__.clone)
   end
-  # :nodoc:
-  def initialize_dup(obj)
+  def initialize_dup(obj) # :nodoc:
     self.__setobj__(obj.__getobj__.dup)
   end
   private :initialize_clone, :initialize_dup

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

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