class RuboCop::Cop::Sorbet::ForbidComparableTEnum

end
end
serialize <=> other.serialize
def <=>(other)
end
Low = new(1)
Medium = new(2)
High = new(3)
enums do
include Comparable
class Priority < T::Enum
# bad
@example
Disallow including the ‘Comparable` module in `T::Enum`.

def on_send(node)

def on_send(node)
  return unless in_t_enum_class? && mix_in_comparable?(node)
  add_offense(node)
end