From: dblack@... Date: 2007-08-10T06:41:46+09:00 Subject: Re: define_method with default parameters Hi -- On Fri, 10 Aug 2007, ara.t.howard wrote: > > On Aug 9, 2007, at 2:42 PM, dblack@rubypal.com wrote: > >> one, two, = *optional > > i used to use that, but people 'correct it' to > > one, two = *optional > > and lo it works so long as there are two, then, when there are three it blows > up so i've take to 'doccumenting' it with '*ignored' > > paranoid i guess ;-) Or maybe I'm too sanguine :-) David -- * Books: RAILS ROUTING (new! http://www.awprofessional.com/title/0321509242) RUBY FOR RAILS (http://www.manning.com/black) * Ruby/Rails training & consulting: Ruby Power and Light, LLC (http://www.rubypal.com)