Sha256: 7fc9de02749c84413ef6b9052a645dd8953c5b287941cdf4bb1f5f3a810e270e

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

require "cards_lib/version"
require "cards_lib/refinements" # REQUIRE BEFORE USE
require "cards_lib/card"
require "cards_lib/deck"
require "cards_lib/standard"
require "cards_lib/ranker"
require "cards_lib/is_set"

module CardsLib

  # Macro
  # Cards[]
  #  generate Card instances from string
  #  representations of their faces
  Cards = ->*c{ c.map {|*opts| Card.new(*opts.flatten)} }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cards_lib-0.2.5 lib/cards_lib.rb