From: Tobias Reif Date: 2002-02-28T06:37:58+09:00 Subject: Re: RCR?: parallel to until: as_soon_as Joel VanderWerf wrote: >>I see. But performance is not always the top priority, and users make >>the choice which constructs to use. >> > I was guessing that users wouldn't have a choice, because every "@x = > ..." would have to be checked for a hook, because the hook on @x could > be turned on or off dynamically. I meant: users have the choice to use the construct, don't, or use a more complex but less time consuming construct. > Here's a dull little example, but it shows what I meant by intercepting > the attr writer. It might be used to accept lines into a fixed length > text field. Thx for the example and the tips. I still think a very simple construct for firing a block as soon as / each time a condition turns true would be useful. No code inside the class is required; just do observe visible objects and their state. Tobi -- * peace&love. * http://www.pinkjuice.com/