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

ruby-changes:39427

From: zzak <ko1@a...>
Date: Sat, 8 Aug 2015 04:01:24 +0900 (JST)
Subject: [ruby-changes:39427] zzak:r51508 (trunk): * object.c: [DOC] Improve grammar for Module#===

zzak	2015-08-08 04:00:59 +0900 (Sat, 08 Aug 2015)

  New Revision: 51508

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

  Log:
    * object.c: [DOC] Improve grammar for Module#===
      Patch by @SkyBirdSoar in documenting-ruby/ruby#52:
      https://github.com/documenting-ruby/ruby/pull/52

  Modified files:
    trunk/ChangeLog
    trunk/object.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51507)
+++ ChangeLog	(revision 51508)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Aug  8 03:59:51 2015  Zachary Scott  <zzak@r...>
+
+        * object.c: [DOC] Improve grammar for Module#===
+          Patch by @SkyBirdSoar in documenting-ruby/ruby#52:
+          https://github.com/documenting-ruby/ruby/pull/52
+
 Sat Aug  8 03:39:33 2015  Zachary Scott  <zzak@r...>
 
         * hash.c: [DOC] Improve description of symbol key syntax
Index: object.c
===================================================================
--- object.c	(revision 51507)
+++ object.c	(revision 51508)
@@ -1521,9 +1521,9 @@ rb_mod_freeze(VALUE mod) https://github.com/ruby/ruby/blob/trunk/object.c#L1521
  *     mod === obj    -> true or false
  *
  *  Case Equality---Returns <code>true</code> if <i>obj</i> is an
- *  instance of <i>mod</i> or one of <i>mod</i>'s descendants. Of
- *  limited use for modules, but can be used in <code>case</code>
- *  statements to classify objects by class.
+ *  instance of <i>mod</i> or and instance of one of <i>mod</i>'s descendants.
+ *  Of limited use for modules, but can be used in <code>case</code> statements
+ *  to classify objects by class.
  */
 
 static VALUE

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

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