From: "Jesús Gabriel y Galán" Date: 2010-06-16T18:46:24+09:00 Subject: Re: Getting rid of self On Wed, Jun 16, 2010 at 11:37 AM, Andrea Dallera wrote: > Have you tried it like this? > > > --- > > def initialize(attributes = nil) > >  super attributes > >  step                = 0 > >  national_debt       = 0 > >  sum_of_income       = 0 > >  sum_of_taxes        = 0 > >  sum_of_happiness    = 0 > >  sum_of_investments  = 0 > > end > > --- > > > 'self' is the default receiver inside a method That won't work, because the parser sees this as local variable assignments, and not method calls. I don't know an easy way to remove that. Jesus.