Sha256: be2bdda2dad31fad6f65bf954672bcaefd54096e034e0085b7d0ad1a1c72ba24

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 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 {|face| Card.new(face)} }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cards_lib-0.1.2 lib/cards_lib.rb
cards_lib-0.1.1 lib/cards_lib.rb
cards_lib-0.1.0 lib/cards_lib.rb