Class: CenterDeck
Instance Attribute Summary
Attributes inherited from Cards
Class Method Summary collapse
Methods inherited from Cards
#<<, #[], #[]=, #banish, #clear!, #each, #empty?, #first, #get_one, #hydrate!, #include?, #index, #pop, #remove, #shuffle!, #size, #to_s_cards
Class Method Details
.starting ⇒ Object
189 190 191 192 193 194 |
# File 'lib/ascension/cards.rb', line 189 def starting res = new Parse::InputFile.new.cards.each { |c| res << c } res.shuffle! res end |