From: Rimantas Liubertas Date: 2006-11-03T22:46:01+09:00 Subject: Re: Output not clear > More confusion. I thought that the statement balance = @bal - amt in the > withdraw method is actually the set method for the @balance variable of the > Accounts class. Is not the set method inherited in the Savings class? This is true. However in the case something = some_value Ruby sees it as assignment to local variable. In this case you want self.balance = @bal - amt instead of balance = @bal - amt. Regards, Rimantas -- http://rimantas.com/