From: Joel VanderWerf Date: 2009-06-27T03:25:50+09:00 Subject: Re: Passing a method reference and then calling it Martin Hess wrote: > How do you pass a method reference and call it on a particular object? I > know I can pass it as a string and call eval, but I'm trying to avoid > that performance hit. obj = "something" method = :reverse obj.send method # faster than eval -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407