enum

Mtg::Deck::Format

Inherits Enum < Comparable < Value < Object

Constants

None = 0
Casual = 1
Standard = 2
Future = 3
Historic = 4
Gladiator = 5
Pioneer = 6
Modern = 7
Legacy = 8
Pauper = 9
Vintage = 10
Penny = 11
Commander = 12
Brawl = 13
Duel = 14
Oldschool = 15
Premodern = 16

Constructors

from_s(value : String) : Format
Source
new(val : String) : Format
Source

Instance methods

brawl?

Returns true if this enum value equals Brawl

Source
casual?

Returns true if this enum value equals Casual

Source
commander?

Returns true if this enum value equals Commander

Source
duel?

Returns true if this enum value equals Duel

Source
future?

Returns true if this enum value equals Future

Source
gladiator?

Returns true if this enum value equals Gladiator

Source
historic?

Returns true if this enum value equals Historic

Source
legacy?

Returns true if this enum value equals Legacy

Source
modern?

Returns true if this enum value equals Modern

Source
none?

Returns true if this enum value equals None

Source
oldschool?

Returns true if this enum value equals Oldschool

Source
pauper?

Returns true if this enum value equals Pauper

Source
penny?

Returns true if this enum value equals Penny

Source
pioneer?

Returns true if this enum value equals Pioneer

Source
premodern?

Returns true if this enum value equals Premodern

Source
standard?

Returns true if this enum value equals Standard

Source
vintage?

Returns true if this enum value equals Vintage

Source