From 81176095f45a5c9f14fc61dfce041735094f893f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 15 Oct 2019 22:38:39 +0900 Subject: [DOC] fixed a variable name [ci skip] replaced "anObject" with "obj". also marked up with simple `_`s instead of ``. --- compar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'compar.c') diff --git a/compar.c b/compar.c index 3d06592692..027328d6d3 100644 --- a/compar.c +++ b/compar.c @@ -154,9 +154,9 @@ cmp_le(VALUE x, VALUE y) * call-seq: * obj.between?(min, max) -> true or false * - * Returns false if obj <=> - * min is less than zero or if anObject <=> - * max is greater than zero, true otherwise. + * Returns false if _obj_ <=> _min_ is less + * than zero or if _obj_ <=> _max_ is greater than zero, + * true otherwise. * * 3.between?(1, 5) #=> true * 6.between?(1, 5) #=> false @@ -177,9 +177,9 @@ cmp_between(VALUE x, VALUE min, VALUE max) * call-seq: * obj.clamp(min, max) -> obj * - * Returns min if obj <=> min is less - * than zero, max if obj <=> max is - * greater than zero and obj otherwise. + * Returns _min_ if _obj_ <=> _min_ is less than zero, + * _max_ if _obj_ <=> _max_ is greater than zero and + * _obj_ otherwise. * * 12.clamp(0, 100) #=> 12 * 523.clamp(0, 100) #=> 100 -- cgit v1.2.3