module CwCardUtils
Public: Top-level namespace for Card Utils. 日本語: Card Utils のトップレベル名前空間です。
Public: Compares two decks and produces matchup insights for play/draw. 日本語: 2つのデッキを比較し、先手/後手のマッチアップ分析を生成します。
Public: Version of the CwCardUtils gem. 日本語: この CwCardUtils gem のバージョン定義です。
Constants
- VERSION
-
Public: The current version string. 日本語: 現在のバージョン文字列です。
@return [String]
Attributes
Public: Overrides the global card data source. 日本語: グローバルなカードデータソースを上書きします。
@param source [CwCardUtils::CardDataSource]
Public Class Methods
Source
# File lib/cw_card_utils.rb, line 32 def card_data_source @card_data_source ||= ScryfallCmcData.instance end
Public: Returns the global card data source used by parsers and models. 日本語: パーサやモデルが使用するグローバルなカードデータソースを返します。
@return [CwCardUtils::CardDataSource]
Source
# File lib/cw_card_utils.rb, line 41 def configure yield self if block_given? end
Public: Yields the module for configuration. 日本語: 設定用にモジュール自身をブロックに渡します。
@yield [CwCardUtils] @return [void]