How to create a private method in Ruby C?

Hi, is there any shortcut to invoke "private :method_name" in a Ruby C
extension? or must I use rb_funcall()?

Thanks a lot.

···

--
Iñaki Baz Castillo
<ibc@aliax.net>

Ops, very easy:

  rb_define_private_method( )

:slight_smile:

···

2011/2/7 Iñaki Baz Castillo <ibc@aliax.net>:

Hi, is there any shortcut to invoke "private :method_name" in a Ruby C
extension? or must I use rb_funcall()?

--
Iñaki Baz Castillo
<ibc@aliax.net>