summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-14 10:25:57 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-14 10:25:57 +0000
commitdf15754bd7899828ea8d76f7950044966c8efe0c (patch)
tree9bb88feb06e3220a5d76cb0eee7d7bbd2380c5b4 /numeric.c
parent4a8aa278b580c974697f1347377d7d2c8eeb6734 (diff)
numeric.c: [DOC] grammar fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/numeric.c b/numeric.c
index cd84956632..93098971fe 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3169,7 +3169,7 @@ int_even_p(VALUE num)
* call-seq:
* int.allbits?(mask) -> true or false
*
- * Returns +true+ if all bits of <code>+int+ & +mask+</code> is 1.
+ * Returns +true+ if all bits of <code>+int+ & +mask+</code> are 1.
*/
static VALUE
@@ -3182,7 +3182,7 @@ int_allbits_p(VALUE num, VALUE mask)
* call-seq:
* int.anybits?(mask) -> true or false
*
- * Returns +true+ if any bits of <code>+int+ & +mask+</code> is 1.
+ * Returns +true+ if any bits of <code>+int+ & +mask+</code> are 1.
*/
static VALUE
@@ -3195,7 +3195,7 @@ int_anybits_p(VALUE num, VALUE mask)
* call-seq:
* int.nobits?(mask) -> true or false
*
- * Returns +true+ if no bits of <code>+int+ & +mask+</code> is 1.
+ * Returns +true+ if no bits of <code>+int+ & +mask+</code> are 1.
*/
static VALUE