Class: Reve::Classes::RequiredAttribute
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
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(attrib) ⇒ RequiredAttribute
constructor
:nodoc:.
Constructor Details
#initialize(attrib) ⇒ RequiredAttribute
:nodoc:
316 317 318 |
# File 'lib/reve/classes.rb', line 316 def initialize(attrib) #:nodoc: @name = attrib end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
315 316 317 |
# File 'lib/reve/classes.rb', line 315 def name @name end |