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

ruby-changes:23025

From: drbrain <ko1@a...>
Date: Sat, 17 Mar 2012 06:57:59 +0900 (JST)
Subject: [ruby-changes:23025] drbrain:r35074 (trunk): * object.c: Fix indentation of Class#inherited example.

drbrain	2012-03-17 06:57:24 +0900 (Sat, 17 Mar 2012)

  New Revision: 35074

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

  Log:
    * object.c:  Fix indentation of Class#inherited example.

  Modified files:
    trunk/ChangeLog
    trunk/object.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35073)
+++ ChangeLog	(revision 35074)
@@ -1,3 +1,7 @@
+Sat Mar 17 06:56:58 2012  Eric Hodel  <drbrain@s...>
+
+	* object.c:  Fix indentation of Class#inherited example.
+
 Sat Mar 17 01:46:05 2012  Kazuhiro NISHIYAMA  <zn@m...>
 
 	* string.c (trnext): fix bug with string ending with '\\'.
Index: object.c
===================================================================
--- object.c	(revision 35073)
+++ object.c	(revision 35074)
@@ -627,9 +627,9 @@
  * Example:
  *
  *    class Foo
- *       def self.inherited(subclass)
- *          puts "New subclass: #{subclass}"
- *       end
+ *      def self.inherited(subclass)
+ *        puts "New subclass: #{subclass}"
+ *      end
  *    end
  *
  *    class Bar < Foo

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

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