Class: Deckstrings::Format

Inherits:
Object
  • Object
show all
Includes:
Enum
Defined in:
lib/deckstrings/deckstrings.rb

Overview

Enumeration of valid format types: wild and standard.

Class Method Summary collapse

Methods included from Enum

#symbol, #to_s, #value

Class Method Details

.standardFormat

Returns Standard format.

Returns:

  • (Format)

    Standard format.



19
# File 'lib/deckstrings/deckstrings.rb', line 19

define :standard, 2, 'Standard'

.wildFormat

Returns Wild format.

Returns:



15
# File 'lib/deckstrings/deckstrings.rb', line 15

define :wild, 1, 'Wild'