Sha256: 5089828d32ef2b653743dcbc8121a83fd3ac899be02d97d04b3f62b4c37689d6

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 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)} }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cards_lib-0.2.3 lib/cards_lib.rb