Class: Reve::Classes::RequiredAttribute

Inherits:
Object
  • Object
show all
Defined in:
lib/reve/classes.rb

Overview

A Skill has a RequiredAttribute, either a PrimaryAttribute or SecondaryAttribute, which both derrive from this. Attributes

  • name ( String ) - Name of the required Attribute

See Also: PrimaryAttribute, SecondaryAttribute, Skill, Reve::API#skill_tree

Direct Known Subclasses

PrimaryAttribute, SecondaryAttribute

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrib) ⇒ RequiredAttribute

:nodoc:



278
279
280
# File 'lib/reve/classes.rb', line 278

def initialize(attrib) #:nodoc:
  @name = attrib
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



277
278
279
# File 'lib/reve/classes.rb', line 277

def name
  @name
end