From: "David A. Black" Date: 2008-07-14T20:07:57+09:00 Subject: Re: Passing arguments to a class, how do? Hi -- On Mon, 14 Jul 2008, Ryan Davis wrote: > > On Jul 13, 2008, at 16:40 , David A. Black wrote: > >> The idea of the =-methods is that they use assignment syntax, and you >> can't do this: >> >> x=(1,2) > > well... > >>> x = 1, 2 > => [1, 2] That was my point: the =-methods have assignment semantics, so you can't use parentheses around the arguments because in assignment semantics that doesn't work. David -- Rails training from David A. Black and Ruby Power and Light: Intro to Ruby on Rails July 21-24 Edison, NJ Advancing With Rails August 18-21 Edison, NJ See http://www.rubypal.com for details and updates!