public Method

Object.nil?

call_seq:

nil.nil?               => true
<anything_else>.nil?   => false

Only the object nil responds true to nil?.</anything_else>

Source Code

/*
* call_seq:
*   nil.nil?               => true
*   <anything_else>.nil?   => false
*
* Only the object <i>nil</i> responds <code>true</code> to <code>nil?</code>.
*/


static VALUE
rb_false(obj)
   VALUE obj;
{
   return Qfalse;
}
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.