From: Rob Sanheim Date: 2007-01-19T16:05:34+09:00 Subject: Re: local variable assertion On 1/19/07, dflanagan@gmail.com wrote: > Funny wordwrapping of the code and comments in that post... > > You can also see the code at my blog: > http://www.davidflanagan.com/blog/2007_01.html#000120 > > David Without diving too much into the implementation of this, I would say if you really find yourself needing it alot you should refactor to smaller methods that do less stuff. I really find composed method and extract method are some of the most critical refactorings in Ruby. Oh yea, and welcome to Ruby =). I'm sure you'll find a lot to love coming from the Javascript world. There are some libraries that let you write prototype style Ruby similiar to idiomatic Javascript. - Rob