/* * call-seq: * meth.name => symbol * * Returns the name of the method. */ static VALUE method_name(VALUE obj) { struct METHOD *data; Data_Get_Struct(obj, struct METHOD, data); return ID2SYM(data->id); }