summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-15 00:39:25 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-15 00:39:25 +0000
commitd4cf669da7e01b4d237cddd1f1c0856bd82d1cbb (patch)
tree39ec8eda03b357c09ac0511d799d100b4cfce7f7 /range.c
parent2568fd774baa8f26eeb9d36b01f2f907dc498ef3 (diff)
Range#bsearch: fix typo in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.c b/range.c
index 0179e202fc..f522a8ae41 100644
--- a/range.c
+++ b/range.c
@@ -539,7 +539,7 @@ is_integer_p(VALUE v)
*
* - the block returns false for any value which is less than x, and
* - the block returns true for any value which is greater than or
- * equal to i.
+ * equal to x.
*
* If x is within the range, this method returns the value x.
* Otherwise, it returns nil.