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

ruby-changes:9735

From: matz <ko1@a...>
Date: Fri, 2 Jan 2009 23:28:17 +0900 (JST)
Subject: [ruby-changes:9735] Ruby:r21276 (trunk): * lib/singleton.rb: fix documentation.

matz	2009-01-02 23:28:02 +0900 (Fri, 02 Jan 2009)

  New Revision: 21276

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

  Log:
    * lib/singleton.rb: fix documentation. [ruby-core:21038]

  Modified files:
    trunk/ChangeLog
    trunk/lib/singleton.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21275)
+++ ChangeLog	(revision 21276)
@@ -53,6 +53,10 @@
 
 	* ext/socket/socket.c (ipaddr): follow argument change.
 
+Fri Jan  2 10:20:24 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* lib/singleton.rb: fix documentation. [ruby-core:21038]
+
 Fri Jan  2 06:43:58 2009  NARUSE, Yui  <naruse@r...>
 
 	* signal.c (rb_signal_buff_size): defined for check whether signal
Index: lib/singleton.rb
===================================================================
--- lib/singleton.rb	(revision 21275)
+++ lib/singleton.rb	(revision 21276)
@@ -10,8 +10,8 @@
 #    ``the instance'' can be created.
 #
 #      a,b  = Klass.instance, Klass.instance
-#      a == b   # => true
-#      a.new    #  NoMethodError - new is private ...
+#      a == b    # => true
+#      Klass.new #  NoMethodError - new is private ...
 #
 # *  ``The instance'' is created at instantiation time, in other
 #    words the first call of Klass.instance(), thus

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

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