From: Elias Athanasopoulos Date: 2003-11-11T03:07:41+09:00 Subject: debugging ruby extensions Hello! Is there a handy function to display messages to stdout/sterr inside a ruby extension. I thougth that: if ((RARRAY(x) == NULL) || (RARRAY(y) == NULL)) { rb_warn ("2nd and 3rd parameter must be arrays!\n"); return Qnil; } Would do such a thing. BTW, is this a nice way to determine if an argument to a method is an array of objects? Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky