Tridib Bandopadhyay wrote in post #988313:
> What do i need to do.. so that I can call the new function and print out
> that message.

rb_define_method().

For more info see
http://www.ruby-doc.org/docs/ProgrammingRuby/html/ext_ruby.html
and/or pretty much any .c file in the ruby source.

-- 
Posted via http://www.ruby-forum.com/.