The Enum class is now used in the exact same way as Struct.new.