abstract struct Enum
Superclass hierarchy
Object
Value
Enum
Included Modules
Comparable(self)
Defined in:
Class Method Summary
.names
: Array(String)
.parse
(string)
.parse?
(string) : self | ::Nil
.values
: Array(self)
Instance Method Summary
#&
(other : self)
#+
(other : Int)
#-
(other : Int)
#<=>
(other : self)
#==
(other : self)
#^
(other : self)
#hash
#includes?
(other : self)
#to_i
#to_s
: String
#to_s
(io : IO) : Nil
#|
(other : self)
#~
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
~