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

ruby-changes:9763

From: yugui <ko1@a...>
Date: Sun, 4 Jan 2009 15:16:01 +0900 (JST)
Subject: [ruby-changes:9763] Ruby:r21305 (ruby_1_9_1): merges r21276 from trunk into ruby_1_9_1.

yugui	2009-01-04 15:15:40 +0900 (Sun, 04 Jan 2009)

  New Revision: 21305

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

  Log:
    merges r21276 from trunk into ruby_1_9_1.
    * lib/singleton.rb: fix documentation. [ruby-core:21038]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/lib/singleton.rb

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21304)
+++ ruby_1_9_1/ChangeLog	(revision 21305)
@@ -1,3 +1,7 @@
+Fri Jan  2 10:20:24 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* lib/singleton.rb: fix documentation. [ruby-core:21038]
+
 Fri Jan  2 22:25:46 2009  Yusuke Endoh  <mame@t...>
 
 	* process.c: use sigaction instead of sigset.  [ruby-core:21021]
Index: ruby_1_9_1/lib/singleton.rb
===================================================================
--- ruby_1_9_1/lib/singleton.rb	(revision 21304)
+++ ruby_1_9_1/lib/singleton.rb	(revision 21305)
@@ -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/

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