Class: Lich::Gemstone::SpecialAbility
- Inherits:
-
Object
- Object
- Lich::Gemstone::SpecialAbility
- Defined in:
- documented/gemstone/creature.rb
Overview
Keep the supporting classes from the original system
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#note ⇒ Object
Returns the value of attribute note.
Instance Method Summary collapse
-
#initialize(data) ⇒ SpecialAbility
constructor
A new instance of SpecialAbility.
Constructor Details
#initialize(data) ⇒ SpecialAbility
Returns a new instance of SpecialAbility.
611 612 613 614 |
# File 'documented/gemstone/creature.rb', line 611 def initialize(data) @name = data[:name] @note = data[:note] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
609 610 611 |
# File 'documented/gemstone/creature.rb', line 609 def name @name end |
#note ⇒ Object
Returns the value of attribute note.
609 610 611 |
# File 'documented/gemstone/creature.rb', line 609 def note @note end |