function method_eq

static VALUE method_eq(VALUE method, VALUE other)