enum Mtg::Card::Condition

Defined in:

mtg/card/condition.cr

Enum Members

Mint = 0
NearMint = 1
LightlyPlayed = 2
Played = 3
HeavilyPlayed = 4
Poor = 5

Constructors

Instance Method Summary

Constructor Detail

def self.from_s(value : String) : Condition #

[View source]
def self.new(condition : String) : Condition #

[View source]

Instance Method Detail

def heavily_played? #

[View source]
def lightly_played? #

[View source]
def mint? #

[View source]
def near_mint? #

[View source]
def played? #

[View source]
def poor? #

[View source]