In 1.8.6 it is called “proc_call(VALUE proc, VALUE args)” in eval.c. In
1.9.2 I think it is declared as “rb_proc_call(VALUE, VALUE)” in
intern.h. Therefore I think it is probably better to stick with
rb_funcall().
In 1.8.6 it is called “proc_call(VALUE proc, VALUE args)” in eval.c. In
1.9.2 I think it is declared as “rb_proc_call(VALUE, VALUE)” in
intern.h. Therefore I think it is probably better to stick with
rb_funcall().
Good to know, thanks a lot.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.