/*
 * call-seq:
 *   method.attached_class => Class
 *
 * Given a Method, returns the Class it is attached to.
 */
static VALUE method_attached_class(VALUE method)
{
  struct METHOD * m;
  Data_Get_Struct(method, struct METHOD, m);
  return CLASS_OF(m->recv);
}