From 3643ccb17ac5e3bb16fc63fb21b3087b3aaf5023 Mon Sep 17 00:00:00 2001 From: marcandre Date: Wed, 28 Oct 2009 04:50:09 +0000 Subject: * string.c: rdoc for <=>, casecmp * bignum.c: rdoc for <=> * file.c: ditto * time.c: ditto * compar.c: rdoc git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 9999c8570..4f607a4f2 100644 --- a/string.c +++ b/string.c @@ -2162,7 +2162,7 @@ rb_str_eql(VALUE str1, VALUE str2) /* * call-seq: - * str <=> other_str => -1, 0, +1 + * str <=> other_str => -1, 0, +1 or nil * * Comparison---Returns -1 if other_str is greater than, 0 if * other_str is equal to, and +1 if other_str is less than @@ -2213,7 +2213,7 @@ rb_str_cmp_m(VALUE str1, VALUE str2) /* * call-seq: - * str.casecmp(other_str) => -1, 0, +1 + * str.casecmp(other_str) => -1, 0, +1 or nil * * Case-insensitive version of String#<=>. * @@ -7161,7 +7161,7 @@ sym_succ(VALUE sym) /* * call-seq: * - * str <=> other => -1, 0, +1 + * str <=> other => -1, 0, +1 or nil * * Compares _sym_ with _other_ in string form. */ @@ -7178,7 +7178,7 @@ sym_cmp(VALUE sym, VALUE other) /* * call-seq: * - * sym.casecmp(other) => -1, 0, +1 + * sym.casecmp(other) => -1, 0, +1 or nil * * Case-insensitive version of Symbol#<=>. */ -- cgit