From 12d2c8ba41edb5a02a7471e39d67ece2894492d8 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Feb 2009 14:23:33 +0000 Subject: stripped trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compar.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'compar.c') diff --git a/compar.c b/compar.c index 633c5b5309..e8ebfc5bfa 100644 --- a/compar.c +++ b/compar.c @@ -50,7 +50,7 @@ cmp_failed(void) /* * call-seq: * obj == other => true or false - * + * * Compares two objects based on the receiver's <=> * method, returning true if it returns 0. Also returns true if * _obj_ and _other_ are the same object. @@ -70,7 +70,7 @@ cmp_equal(VALUE x, VALUE y) /* * call-seq: * obj > other => true or false - * + * * Compares two objects based on the receiver's <=> * method, returning true if it returns 1. */ @@ -87,7 +87,7 @@ cmp_gt(VALUE x, VALUE y) /* * call-seq: * obj >= other => true or false - * + * * Compares two objects based on the receiver's <=> * method, returning true if it returns 0 or 1. */ @@ -104,7 +104,7 @@ cmp_ge(VALUE x, VALUE y) /* * call-seq: * obj < other => true or false - * + * * Compares two objects based on the receiver's <=> * method, returning true if it returns -1. */ @@ -121,7 +121,7 @@ cmp_lt(VALUE x, VALUE y) /* * call-seq: * obj <= other => true or false - * + * * Compares two objects based on the receiver's <=> * method, returning true if it returns -1 or 0. */ @@ -138,16 +138,16 @@ 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. - * + * * 3.between?(1, 5) #=> true * 6.between?(1, 5) #=> false * 'cat'.between?('ant', 'dog') #=> true * 'gnu'.between?('ant', 'dog') #=> false - * + * */ static VALUE @@ -167,7 +167,7 @@ cmp_between(VALUE x, VALUE min, VALUE max) * <=> to implement the conventional comparison operators * (<, <=, ==, >=, * and >) and the method between?. - * + * * class SizeMatters * include Comparable * attr :str @@ -181,18 +181,18 @@ cmp_between(VALUE x, VALUE min, VALUE max) * @str * end * end - * + * * s1 = SizeMatters.new("Z") * s2 = SizeMatters.new("YY") * s3 = SizeMatters.new("XXX") * s4 = SizeMatters.new("WWWW") * s5 = SizeMatters.new("VVVVV") - * + * * s1 < s2 #=> true * s4.between?(s1, s3) #=> false * s4.between?(s3, s5) #=> true * [ s3, s2, s5, s4, s1 ].sort #=> [Z, YY, XXX, WWWW, VVVVV] - * + * */ void -- cgit v1.2.3