From f47473acd11e4d822696c175bdb5fe142ee46ee9 Mon Sep 17 00:00:00 2001 From: zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Fri, 7 Aug 2015 19:00:59 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ object.c | 6 +++--- 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