From: Roger Pack Date: 2007-10-14T08:14:56+09:00 Subject: simplifying the defined api Question: A recent suggestion to ruby was to have all defined? method's return true or nil. So my question is...does anybody ever use "defined?" for anything besides true/nil? 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. Take care. -Roger -- Posted via http://www.ruby-forum.com/.