Added Object#enum_value? to fix attr_enum and specs