On 10/15/06, Rick DeNatale <rick.denatale / gmail.com> wrote:
> On 10/15/06, Peter Lynch <argnosis / yahoo.com.au> wrote:

As an afterthought, having answered your question without analysis of
whether this is a good thing, there are probably saner approaches, two
which come to mind are:

   1. defining the condition separately as a function or a lambda.
   2. defining it as a string and using one of the eval family of
functions to evaluate it.

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/