ruby-changes:17062
From: naruse <ko1@a...>
Date: Fri, 20 Aug 2010 14:26:01 +0900 (JST)
Subject: [ruby-changes:17062] Ruby:r29060 (trunk): Add rdoc about Kernel#<=>
naruse 2010-08-20 14:13:39 +0900 (Fri, 20 Aug 2010) New Revision: 29060 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29060 Log: Add rdoc about Kernel#<=> [ruby-core:31770] Modified files: trunk/object.c Index: object.c =================================================================== --- object.c (revision 29059) +++ object.c (revision 29060) @@ -1160,7 +1160,12 @@ } -/* :nodoc: */ +/* + * call-seq: + * obj <=> other -> 0 or nil + * + * Returns 0 if obj === other, otherwise nil. + */ static VALUE rb_obj_cmp(VALUE obj1, VALUE obj2) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/