in ruby you can do
defined? local_variable_name
or defined? ClassName
or what not and it tells you if those things exist.

mortee wrote:
> Roger Pack wrote:
>> 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?
> 
> It looks like I'm missing something... What's the "defined? api"?
> 
> mortee

-- 
Posted via http://www.ruby-forum.com/.