class T::Types::TEnum

Validates that an object is equal to another T::Enum singleton value.

def initialize(val)

def initialize(val)
  @val = val
end

def name

@override Base
def name
  @val.inspect
end

def subtype_of_single?(other)

@override Base
def subtype_of_single?(other)
ther
Enum
 == other.val
e

def valid?(obj)

@override Base
def valid?(obj)
  @val == obj
end