|

Ruby Programming Examples: Email, Encryption, Zip, HTTP, XML, FTP
Chilkat Software Components
nil Object Reference, NULL Object Reference
Back
When testing for a null object reference, I can never remember if the keyword is nil, null, nothing, etc. It's "nil" in Ruby:
if obj == nil
print "The object reference is NULL"
end
|