Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mtg
v0.1.3
Mtg
Card
Availability
BorderColor
Color
Condition
DuelDeck
FrameEffects
Layout
Location
PromoTypes
Rarity
Side
Supertypes
Deck
Format
Type
ForeignData
Language
Keywords
Set
Type
Built with Crystal 1.9.2
2023-10-08 09:02:46 UTC
enum
Mtg::Card::Availability
Defined in:
mtg/card/availability.cr
Enum Members
Arena
=
0
Dreamcast
=
1
Mtgo
=
2
Paper
=
3
Shandalar
=
4
Constructors
.from_s
(value : String) : Availability
.new
(value : String) : Availability
Instance Method Summary
#arena?
#dreamcast?
#mtgo?
#paper?
#shandalar?
Constructor Detail
def self.
from_s
(value : String) :
Availability
#
[
View source
]
def self.
new
(value : String) :
Availability
#
[
View source
]
Instance Method Detail
def
arena?
#
[
View source
]
def
dreamcast?
#
[
View source
]
def
mtgo?
#
[
View source
]
def
paper?
#
[
View source
]
def
shandalar?
#
[
View source
]