From: SonOfLilit Date: 2007-02-18T22:13:32+09:00 Subject: Re: Instance variable exists? Hi, AFAIK it's the only way. Question: Why does Object#instance_varialbe_get have no documentation? It's behaviour isn't that clear in cases like On 2/18/07, Detlef Reichl wrote: > Hi, > > what is the preferred way to see if an object already includes a > instance variable? > > for now i do something like: > > @my_object.instance_variables.include? "var_name" > > > > Cheers > detlef > > >