1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add rdoc about Kernel#<=> [ruby-core:31770]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-08-20 05:13:39 +00:00
parent fedc3756fb
commit b88a5027b8

View file

@ -1160,7 +1160,12 @@ rb_obj_not_match(VALUE obj1, VALUE obj2)
}
/* :nodoc: */
/*
* call-seq:
* obj <=> other -> 0 or nil
*
* Returns 0 if obj === other, otherwise nil.
*/
static VALUE
rb_obj_cmp(VALUE obj1, VALUE obj2)
{