Hi -- On Thu, 7 Jun 2007, Joel VanderWerf wrote: > jbc wrote: >> (I posted this before on the google-group rather than the usenet >> group, but it seems not to have shown up. I don't know why. If this is >> a duplicate for anyone, my apologies) >> >> def initialize(foo,bar,bat) >> @foo,@bar,@bat = foo,bar,bat >> end >> >> Seems clumsy and not at all DRY. >> >> What would seem the obvious approach to me would be this: >> >> def initialize(@foo,@bar,@bat) >> end >> >> Is there a reason it's not done that way? >> > > This has been discussed on ruby-talk, but it might have been a few years ago. It's also a rejected RCR: http://oldrcrs.rubypal.com/rejected.html#rcr3 David -- Q. What is THE Ruby book for Rails developers? A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black) (See what readers are saying! http://www.rubypal.com/r4rrevs.pdf) Q. Where can I get Ruby/Rails on-site training, consulting, coaching? A. Ruby Power and Light, LLC (http://www.rubypal.com)