From: Tim Hunter Date: 2008-08-15T06:40:53+09:00 Subject: Re: Best practice for set-and-test idiom? Kevin Nolan wrote: (snip) > I know -- I just omitted it for the sake of brevity. Do you have any > thoughts about a better, or my ruby-like technique? Actually I suck at these kinds of stylistic questions. If I want somebody else (where "somebody else" includes "me, after a few months when I've forgotten what I was doing") to be able to easily understand my code I use the "long" version with no short-cuts. If it's just for me I stick with the first thing that works. -- RMagick: http://rmagick.rubyforge.org/