enum

Mtg::Card::Condition

Inherits Enum < Comparable < Value < Object

Constants

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

Constructors

from_s(value : String) : Condition
Source
new(condition : String) : Condition
Source

Instance methods

heavily_played?

Returns true if this enum value equals HeavilyPlayed

Source
lightly_played?

Returns true if this enum value equals LightlyPlayed

Source
mint?

Returns true if this enum value equals Mint

Source
near_mint?

Returns true if this enum value equals NearMint

Source
played?

Returns true if this enum value equals Played

Source
poor?

Returns true if this enum value equals Poor

Source