aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-07 19:00:59 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-08-07 19:00:59 +0000
commitf47473acd11e4d822696c175bdb5fe142ee46ee9 (patch)
tree9396822cc0aa3bbe8b8394db35e2a2b74744ea9b /object.c
parentd4917bfe1fa1856276d85ebe464bffefe79434ba (diff)
downloadruby-f47473acd11e4d822696c175bdb5fe142ee46ee9.tar.gz
* object.c: [DOC] Improve grammar for Module#===
Patch by @SkyBirdSoar in documenting-ruby/ruby#52: https://github.com/documenting-ruby/ruby/pull/52 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c6
1 files changed, 3 insertions, 3 deletions
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