abstract struct Enum

Superclass hierarchy

Object
Value
Enum

Included Modules

Comparable(self)

Defined in:

Class Method Summary

Instance Method Summary

Class Method Detail

def self.names : Array(String)

def self.parse(string)

def self.parse?(string) : self | Nil

def self.values : Array(self)

Instance Method Detail

def &(other : self)

def +(other : Int)

def -(other : Int)

def <=>(other : self)

def ==(other : self)

def ^(other : self)

def hash

def includes?(other : self)

def to_i

def to_s : String

def to_s(io : IO) : Nil

def |(other : self)

def ~