enum Mtg::Deck::Format

Defined in:

mtg/deck/format.cr

Enum Members

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

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(val : String) : Format #

[View source]

Instance Method Detail

def brawl? #

[View source]
def casual? #

[View source]
def commander? #

[View source]
def duel? #

[View source]
def future? #

[View source]
def gladiator? #

[View source]
def historic? #

[View source]
def legacy? #

[View source]
def modern? #

[View source]
def none? #

[View source]
def oldschool? #

[View source]
def pauper? #

[View source]
def penny? #

[View source]
def pioneer? #

[View source]
def premodern? #

[View source]
def standard? #

[View source]
def vintage? #

[View source]