From: dblack@... Date: 2006-12-12T10:13:34+09:00 Subject: Re: Inserting surrounding scope into singelton method definition Hi -- On Tue, 12 Dec 2006, Sebastian wrote: > Wonderful! For some reason the 2-argument notation in your example didn't > work for me, but with a Proc as the method definition body all is dandy. I > had tried class_eval before but ignorantly used it on the array instance > instead, which of course doesnt work. So, thanks very much for your help. Yes, I used the wrong construct -- I'm glad you figured it out :-) David -- Q. What's a good holiday present for the serious Rails developer? A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black) aka The Ruby book for Rails developers! Q. Where can I get Ruby/Rails on-site training, consulting, coaching? A. Ruby Power and Light, LLC (http://www.rubypal.com)