Hi, is there any shortcut to invoke “private :method_name” in a Ruby C
extension? or must I use rb_funcall()?
Thanks a lot.
Hi, is there any shortcut to invoke “private :method_name” in a Ruby C
extension? or must I use rb_funcall()?
Thanks a lot.
2011/2/7 Iñaki Baz C. [email protected]:
Hi, is there any shortcut to invoke “private :method_name” in a Ruby C
extension? or must I use rb_funcall()?
Ops, very easy:
rb_define_private_method( )
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