From: Christian Szegedy Date: 2002-09-10T01:51:52+09:00 Subject: Re: scopes Kontra, Gergely wrote: > Hi! > > I've a question about scopes: > > @mail=Someclass.new > @pass=Someclass.new > def @pass.check > # how to acces @mail here? > end The instance variables are always private in Ruby: you can't access the instance variables of an object from a different object. Regards, Christian