Class: Lich::Gemstone::SpecialAbility

Inherits:
Object
  • Object
show all
Defined in:
documented/gemstone/creature.rb

Overview

Keep the supporting classes from the original system

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ SpecialAbility

Returns a new instance of SpecialAbility.



842
843
844
845
# File 'documented/gemstone/creature.rb', line 842

def initialize(data)
  @name = data[:name]
  @note = data[:note]
end

Instance Attribute Details

#name ⇒ Object

Returns the value of attribute name.



840
841
842
# File 'documented/gemstone/creature.rb', line 840

def name
  @name
end

#note ⇒ Object

Returns the value of attribute note.



840
841
842
# File 'documented/gemstone/creature.rb', line 840

def note
  @note
end