From: Emil Ong Date: 2001-07-03T00:03:12+09:00 Subject: [ruby-talk:17151] Calling Marshal.dump/load from C Hi, I'm new to Ruby and I'm trying to write and extension in C. I'm defining a method for a class that takes an arbitrary object, marshals it, then transmits the marshaled string. How do I call Marshal.dump or Marshal.load from C? I've gotten as far as getting IDs for the functions using rb_intern(), but I'm not sure who the receiver should be. I thought it would be the Marshal module, but I don't know how to get a VALUE for a module. More generally, who is the receiver when you call a module method? (BTW, I'm using 1.6.4 if that helps) Thanks, Emil