Class: Card::Purchaseable

Inherits:
Base show all
Defined in:
lib/ascension/card.rb

Direct Known Subclasses

Construct, Hero

Instance Attribute Summary collapse

Attributes inherited from Base

#name, #realm

Attributes included from HonorEarned

#honor_earned

Instance Method Summary collapse

Methods inherited from Base

#apply_abilities, #apply_triggers, #basic_card?, #construct?, #hero?, #hydrated, #monster?, #to_s

Instance Attribute Details

#rune_costObject

Returns the value of attribute rune_cost.



78
79
80
# File 'lib/ascension/card.rb', line 78

def rune_cost
  @rune_cost
end

Instance Method Details

#mechana?Boolean

Returns:

  • (Boolean)


79
80
81
# File 'lib/ascension/card.rb', line 79

def mechana?
  realm == :mechana
end