- rb_define_method(rb_msg,"init",(rb_meth)msg_init,1);
- rb_define_method(rb_msg,"run",(rb_meth)msg_run,0);
- rb_define_method(rb_msg,"createEnvironment",(rb_meth)msg_createEnvironment,1);
- rb_define_method(rb_msg,"deployApplication",(rb_meth)msg_deployApplication,1);
- rb_define_method(rb_msg,"info",(rb_meth)msg_info,1);
- rb_define_method(rb_msg,"debug",(rb_meth)msg_debug,1);
- rb_define_method(rb_msg,"getClock",(rb_meth)msg_get_clock,0);
- rb_define_method(rb_msg,"rubyNewInstance",(rb_meth)msg_new_ruby_instance,1);
- rb_define_method(rb_msg,"rubyNewInstanceArgs",(rb_meth)msg_new_ruby_instance_with_args,2);
+ rb_define_module_function(rb_msg,"init",(rb_meth)msg_init,1);
+ rb_define_module_function(rb_msg,"run",(rb_meth)msg_run,0);
+ rb_define_module_function(rb_msg,"createEnvironment",(rb_meth)msg_createEnvironment,1);
+ rb_define_module_function(rb_msg,"deployApplication",(rb_meth)msg_deployApplication,1);
+ rb_define_module_function(rb_msg,"info",(rb_meth)msg_info,1);
+ rb_define_module_function(rb_msg,"debug",(rb_meth)msg_debug,1);
+ rb_define_module_function(rb_msg,"getClock",(rb_meth)msg_get_clock,0);
+ rb_define_module_function(rb_msg,"rubyNewInstance",(rb_meth)msg_new_ruby_instance,1);
+ rb_define_module_function(rb_msg,"rubyNewInstanceArgs",(rb_meth)msg_new_ruby_instance_with_args,2);