search for: rb_mprocess

Displaying 1 result from an estimated 1 matches for "rb_mprocess".

Did you mean: r_process
2004 May 08
0
win32-process - mixing Process into Object
...thout having to using the Process constant, i.e. fork vs Process.fork. In pure Ruby, you can do this: module Process def fork puts "fork!" end end class Object include Process end fork # -> "fork!" In the process.c file I tried rb_include_module(rb_cObject,rb_mProcess) at the end of the Init() function, but it didn''t seem to work. Any ideas on how we can accomplish this? Regards, Dan