Sha256: 493c7c4bebbef749df592b828733c9d8a0576cbe1b735f8685f3576b5106dd50
Contents?: true
Size: 226 Bytes
Versions: 5
Compression:
Stored size: 226 Bytes
Contents
module Cardgame class Card def initialize(args) @suit = args[:suit] @value = args[:value] end def suit @suit end def value @value end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
warcards-0.0.7 | lib/warcards/card.rb |
warcards-0.0.6 | lib/warcards/card.rb |
warcards-0.0.5 | lib/warcards/card.rb |
warcards-0.0.3 | lib/warcards/card.rb |
warcards-0.0.2 | lib/warcards/card.rb |