Skip to content

Commit 8117609

Browse files
committed
[DOC] fixed a variable name [ci skip]
replaced "anObject" with "obj". also marked up with simple `_`s instead of `<i>`.
1 parent e0e93a1 commit 8117609

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

compar.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ cmp_le(VALUE x, VALUE y)
154154
* call-seq:
155155
* obj.between?(min, max) -> true or false
156156
*
157-
* Returns <code>false</code> if <i>obj</i> <code><=></code>
158-
* <i>min</i> is less than zero or if <i>anObject</i> <code><=></code>
159-
* <i>max</i> is greater than zero, <code>true</code> otherwise.
157+
* Returns <code>false</code> if _obj_ <code><=></code> _min_ is less
158+
* than zero or if _obj_ <code><=></code> _max_ is greater than zero,
159+
* <code>true</code> otherwise.
160160
*
161161
* 3.between?(1, 5) #=> true
162162
* 6.between?(1, 5) #=> false
@@ -177,9 +177,9 @@ cmp_between(VALUE x, VALUE min, VALUE max)
177177
* call-seq:
178178
* obj.clamp(min, max) -> obj
179179
*
180-
* Returns <i>min</i> if <i>obj</i> <code><=></code> <i>min</i> is less
181-
* than zero, <i>max</i> if <i>obj</i> <code><=></code> <i>max</i> is
182-
* greater than zero and <i>obj</i> otherwise.
180+
* Returns _min_ if _obj_ <code><=></code> _min_ is less than zero,
181+
* _max_ if _obj_ <code><=></code> _max_ is greater than zero and
182+
* _obj_ otherwise.
183183
*
184184
* 12.clamp(0, 100) #=> 12
185185
* 523.clamp(0, 100) #=> 100

0 commit comments

Comments
 (0)