Sha256: 25ce71e05d7c25e25bd143a14372f46f7cd6939186a45b8af00a05128f9b68e3

Contents?: true

Size: 394 Bytes

Versions: 4

Compression:

Stored size: 394 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

4 entries across 4 versions & 1 rubygems

Version Path
cards_lib-0.2.4 lib/cards_lib.rb
cards_lib-0.2.2 lib/cards_lib.rb
cards_lib-0.2.1 lib/cards_lib.rb
cards_lib-0.2.0 lib/cards_lib.rb