From: "trans. (T. Onoma)" Date: 2004-10-02T03:22:23+09:00 Subject: Re: define_method, proc with block ? On Friday 01 October 2004 01:42 pm, Markus wrote: > On Fri, 2004-10-01 at 09:08, trans. (T. Onoma) wrote: > > A little help here. I'm trying to dynamically create a method that passes > > through to another method but adds in a fixed argument. Unfortunately I > > can't pass a block via a proc. > > Why not? Or more lucidly (asfter this post a swear I'm going for > tea): what problems are you having? It seems like either of the methods > that Mauricio > > http://www.talkaboutprogramming.com/group/comp.lang.ruby/messages/107894.ht ml Ah, thank you. Thank you. Yes, this first example is essentially what I'm doing. I see from it that block parameters in Procs are taken care of in 1.9+, I just need to update. > or I (about half way down, search for "$observers") > > http://www.talkaboutprogramming.com/group/comp.lang.ruby/messages/107721.ht >ml, suggested on this thread should do the trick. No aliasing for me thanks. But I am curious, is Symbol.uniq new to 1.9? Thanks Again, T.