From: raims@... (Lawrence Oluyede) Date: 2007-04-04T08:40:08+09:00 Subject: Re: Everything is a object? Jamal Soueidan wrote: > how can I check if its not a object because then its empty and not > created ? If it's empty that means it has been created but with a nil value. You have to check if its defined in the current scope: irb(main):005:0> defined? a => nil irb(main):006:0> a NameError: undefined local variable or method `a' for main:Object from (irb):6 from :0 -- Lawrence, oluyede.org - neropercaso.it "It is difficult to get a man to understand something when his salary depends on not understanding it" - Upton Sinclair