From: Stefano Crocco Date: 2008-06-15T18:38:52+09:00 Subject: Re: Ruby Q's On Sunday 15 June 2008, Stefano Crocco wrote: > and you cant undefine an instance variable. > > Stefano Sorry, I misread the documentation. You can indeed undefine an instance variable, using the remove_instance_variable method. Since it is private, though, if you need to call it from outside the instance, you can either use send obj.send :remove_instance_variable :@var or make the method public class C public :remove_instance_variable end Stefano