Class: Ability::CardChoice
- Includes:
- FromHash
- Defined in:
- lib/ascension/ability.rb
Instance Attribute Summary collapse
-
#ability ⇒ Object
Returns the value of attribute ability.
-
#side ⇒ Object
Returns the value of attribute side.
Instance Method Summary collapse
Instance Attribute Details
#ability ⇒ Object
Returns the value of attribute ability.
74 75 76 |
# File 'lib/ascension/ability.rb', line 74 def ability @ability end |
#side ⇒ Object
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 |