>From: matz / zetabits.com (Yukihiro Matsumoto) >Reply-To: ruby-talk / ruby-lang.org >To: ruby-talk / ruby-lang.org (ruby-talk ML) >Subject: [ruby-talk:11829] Re: How do I reach members from a Proc? >Date: Thu, 1 Mar 2001 14:46:39 +0900 > >Hi, > >In message "[ruby-talk:11785] Re: How do I reach members from a Proc?" > on 01/03/01, Dave Thomas <Dave / PragmaticProgrammer.com> writes: > >|> One more thing: >|> How do I pass parameters to @action? Code's modified below >| >|Currently you can't (although that was an extension that was briefly >|discussed. Matz?) > >Someone proposed me in ruby-list (Japanese list) that "instance_eval" >should be able to pass values to the evaluationg block. Although I >agree with that functionality is good, I feel that behavior contradict >to the name and role of "instance_eval". If some suggest me a good >method name for it, I might add it to the core. > >You may know, choosing a good name is the core of software design. >The true name has its own magical power. > > matz. Shall I add this as an RCR? Mike Wilson Unix Administrator http://ruby.weblogs.com _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com