Class: Ability::CardChoice

Inherits:
Object show all
Includes:
FromHash
Defined in:
lib/ascension/ability.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#abilityObject

Returns the value of attribute ability.



74
75
76
# File 'lib/ascension/ability.rb', line 74

def ability
  @ability
end

#sideObject

Returns the value of attribute side.



74
75
76
# File 'lib/ascension/ability.rb', line 74

def side
  @side
end

Instance Method Details

#run!Object



90
91
92
# File 'lib/ascension/ability.rb', line 90

def run!
  choice.execute!
end