From: "David A. Black" Date: 2005-08-10T21:02:49+09:00 Subject: Re: passing a method Hi -- On Wed, 10 Aug 2005, Wybo Dekker wrote: > Patrick Gundlach and Devin Mullans wrote: > >> @t = '' >> def bye >> @t << 'bye' >> end >> def hello >> @t << 'hello' >> end >> def doit(f) >> send f >> end >> doit(:hello) >> doit(:bye) >> doit(:hello) >> puts @t > > That's exactly what I needed. Thanks! Why not just use send? David -- David A. Black dblack@wobblini.net