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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs