From: Rick DeNatale Date: 2006-10-16T11:45:38+09:00 Subject: Re: Unbalanced code snippet include On 10/15/06, Rick DeNatale wrote: > On 10/15/06, Peter Lynch 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/