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; }
<code/>and<pre/>for code samples.