Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mtg
v0.2.12
Mtg
Card
Availability
BoosterTypes
BorderColor
Color
Condition
DuelDeck
Finishes
FrameEffects
Layout
Location
PromoTypes
Rarity
SecurityStamp
Side
Supertypes
Deck
Format
Type
ForeignData
Language
Keywords
Product
Category
Subtype
Set
Type
TcgplayerSkus
Built with Crystal 1.9.2
2023-10-08 09:00:24 UTC
enum
Mtg::Deck::Type
Defined in:
mtg/deck/_type.cr
Enum Members
None
=
0
Constructed
=
1
Draft
=
2
Sealed
=
3
Cube
=
4
Constructors
.from_s
(value : String) : Type
.new
(val : String) : Type
Instance Method Summary
#constructed?
#cube?
#draft?
#none?
#sealed?
Constructor Detail
def self.
from_s
(value : String) :
Type
#
[
View source
]
def self.
new
(val : String) :
Type
#
[
View source
]
Instance Method Detail
def
constructed?
#
[
View source
]
def
cube?
#
[
View source
]
def
draft?
#
[
View source
]
def
none?
#
[
View source
]
def
sealed?
#
[
View source
]