Class: CenterDeck

Inherits:
Cards show all
Defined in:
lib/ascension/cards.rb

Instance Attribute Summary

Attributes inherited from Cards

#game, #side

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

.startingObject



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