From: dblack@... Date: 2007-02-18T19:24:55+09:00 Subject: Re: Passing a block into a class_eval Hi -- On Sun, 18 Feb 2007, Clifford Heath wrote: > Thanks for the note on do...end, I almost never use it, but this is a > rare case where having the same feature at a different precedence is > a good idea. I need to stash that example away as it's rare enough that I never seem to be able to remember an example when people ask me.... > This is ready to be made a gem when I've done the unit tests. I think > I'll call it "checked". How about "chattr"? :-) David -- Q. What is THE Ruby book for Rails developers? A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black) (See what readers are saying! http://www.rubypal.com/r4rrevs.pdf) Q. Where can I get Ruby/Rails on-site training, consulting, coaching? A. Ruby Power and Light, LLC (http://www.rubypal.com)