Automatically setting attributes

The above just seems way more straightforward to me than the other
methods, with the arrays, blocks, etc.

···

-----Original Message-----
From: David A. Black [mailto:dblack@wobblini.net]
Sent: Wednesday, July 28, 2004 8:05 PM
To: ruby-talk ML
Subject: Re: Automatically setting attributes

Hi --

On Thu, 29 Jul 2004, Mehr, Assaph (Assaph) wrote:

> > Do those methods have any advantages over doing
> > @goo, @moo = 0, 0
>
> You only write one zero... :slight_smile:

@goo = @moo = 0 # :slight_smile: