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:
278 279 280 |
# File 'lib/reve/classes.rb', line 278 def initialize(attrib) #:nodoc: @name = attrib end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
277 278 279 |
# File 'lib/reve/classes.rb', line 277 def name @name end |