Class: Ability::DiscardConstruct

Inherits:
OtherSideChoice show all
Defined in:
lib/ascension/ability.rb

Instance Attribute Summary

Attributes inherited from Base

#parent_card

Instance Method Summary collapse

Methods inherited from OtherSideChoice

#side_for_card_choice

Methods inherited from BaseChoice

#call, #card_choice, #side_for_card_choice

Methods inherited from Base

#call_until_nil, #choice_instance

Instance Method Details

#action(card, side) ⇒ Object



196
197
198
# File 'lib/ascension/ability.rb', line 196

def action(card,side)
  side.constructs.discard(card)
end

#choosable_cards(side) ⇒ Object



193
194
195
# File 'lib/ascension/ability.rb', line 193

def choosable_cards(side)
  side.constructs
end