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
def name @val.inspect end
def subtype_of_single?(other)
def subtype_of_single?(other) ther Enum == other.val e
def valid?(obj)
def valid?(obj) @val == obj end