Module: CracklingWit::CardUtils

Defined in:
lib/crackling_wit/card_utils.rb

Constant Summary collapse

Error =

Re-export legacy constants under the new namespace

::CwCardUtils::Error
CardDataSource =
::CwCardUtils::CardDataSource
CurveCalculator =
::CwCardUtils::CurveCalculator
DecklistParser =
::CwCardUtils::DecklistParser
ScryfallCmcData =
::CwCardUtils::ScryfallCmcData
SynergyProbability =
::CwCardUtils::SynergyProbability
DeckComparator =
::CwCardUtils::DeckComparator
VERSION =
::CwCardUtils::VERSION

Class Method Summary collapse

Class Method Details

.card_data_sourceObject



22
23
24
# File 'lib/crackling_wit/card_utils.rb', line 22

def card_data_source
  ::CwCardUtils.card_data_source
end

.card_data_source=(source) ⇒ Object



18
19
20
# File 'lib/crackling_wit/card_utils.rb', line 18

def card_data_source=(source)
  ::CwCardUtils.card_data_source = source
end

.configure(&block) ⇒ Object



26
27
28
# File 'lib/crackling_wit/card_utils.rb', line 26

def configure(&block)
  ::CwCardUtils.configure(&block)
end