Sha256: 3af8c1547f3adfa50d7f4914e0869ced38f4de128a1e4caf12243cc526e09e62

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require "cards_lib/version"
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 {|face| Card.new(face)} }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cards_lib-0.0.9 lib/cards_lib.rb