From: Mido Peace Date: 2010-02-03T17:59:36+09:00 Subject: rb_funcall Hi , we know that rb_funcall , is used to call some Ruby Methods from the C code , actualy , This is what I tried , but in my case , it doesnt seem to work my case is , that I should call a Ruby Method from a Ruby Class that inherite from another Class. with a Simple Ruby Class class MyClass { def initialize() puts "bla bla bla" end end rb_funcall3(rb_const_get(rb_cObject, rb_intern("MyClass")), rb_intern("new"), 0, 0); // Works Good !! But If I have class MyClass < AnotherClass def intialize () super() puts "alb alb alb" end end the rb_funcall Stucks !! ruby: allocator undefined for MyClass (TypeError) Can SomeOne Help ?? Thx ;) -- Posted via http://www.ruby-forum.com/.