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::Card::Location
Defined in:
mtg/card/location.cr
Enum Members
Mainboard
=
0
Sideboard
=
1
Commander
=
2
Companion
=
3
Other
=
4
Constructors
.from_s
(value : String) : Location
.new
(value : String) : Location
Instance Method Summary
#commander?
#companion?
#mainboard?
#other?
#sideboard?
Constructor Detail
def self.
from_s
(value : String) :
Location
#
[
View source
]
def self.
new
(value : String) :
Location
#
[
View source
]
Instance Method Detail
def
commander?
#
[
View source
]
def
companion?
#
[
View source
]
def
mainboard?
#
[
View source
]
def
other?
#
[
View source
]
def
sideboard?
#
[
View source
]