Question: A recent suggestion to ruby was to have all
method’s return true or nil.
So my question is…does anybody ever use “defined?” for anything
I also wonder if the complex defined? api explains why this code:
assert(defined?(a) and defined?(b))
throws a syntax error for some reason.
Any thoughts welcome.