enum

Mtg::Card::Location

Inherits Enum < Comparable < Value < Object

Constants

Mainboard = 0
Sideboard = 1
Commander = 2
Companion = 3
Other = 4

Constructors

from_s(value : String) : Location
Source
new(value : String) : Location
Source

Instance methods

commander?

Returns true if this enum value equals Commander

Source
companion?

Returns true if this enum value equals Companion

Source
mainboard?

Returns true if this enum value equals Mainboard

Source
other?

Returns true if this enum value equals Other

Source
sideboard?

Returns true if this enum value equals Sideboard

Source