Call_user_func

Hi I was wondering if ruby on rails had a function similar to PHP’s
call_user_func. Or at least a way to achieve similar functionality.

thanks

On 9/9/06, Brandon [email protected] wrote:

Hi I was wondering if ruby on rails had a function similar to PHP’s
call_user_func. Or at least a way to achieve similar functionality.

Grab yourself a copy of Ruby for Rails by David Black.

“abc”.size == “abc”.send(:size)

jeremy

Thanks I really appreciate it!

New object.send is similar to php’s call_user_func

Is there something equivalent to php’s call_user_func_array ?? What im
tring to do is represent wordpress’s plugin engine with ruby on rails