From: Sebastian Hungerecker Date: 2008-08-14T04:53:14+09:00 Subject: Re: changing an instance variable Jason Lillywhite wrote: > What if I want to redefine @x inside method "foo" but only in there? Why? > is there a simple way to do this? There is no way to do that. You could change @x and then just change it back at the end of the method, but that will still affect the value of @x for any other method you call during the method. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826