Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mtg
v0.1.1
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 08:59:33 UTC
enum
Mtg::Card::Rarity
Defined in:
mtg/card/rarity.cr
Enum Members
Bonus
=
0
Common
=
1
Mythic
=
2
Rare
=
3
Special
=
4
Uncommon
=
5
Constructors
.from_s
(value : String) : Rarity
.new
(value : String) : Rarity
Instance Method Summary
#bonus?
#common?
#mythic?
#rare?
#special?
#uncommon?
Constructor Detail
def self.
from_s
(value : String) :
Rarity
#
[
View source
]
def self.
new
(value : String) :
Rarity
#
[
View source
]
Instance Method Detail
def
bonus?
#
[
View source
]
def
common?
#
[
View source
]
def
mythic?
#
[
View source
]
def
rare?
#
[
View source
]
def
special?
#
[
View source
]
def
uncommon?
#
[
View source
]