aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--object.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ef948b1ab..1e3c4e956d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Aug 8 03:59:51 2015 Zachary Scott <zzak@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* hash.c: [DOC] Improve description of symbol key syntax
diff --git a/object.c b/object.c
index 99c2fb61e1..51355e1354 100644
--- a/object.c
+++ b/object.c
@@ -1521,9 +1521,9 @@ rb_mod_freeze(VALUE mod)
* 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