Class: Reve::Classes::CorporateTitle
Overview
Part of the CharacterSheet; represents a grantable Corporation title to a Character. Attributes:
-
id ( Fixnum ) - Bitmask/ID of the title
-
name ( String ) - Name of the title
Instance Attribute Summary (collapse)
-
- (Object) id
readonly
Returns the value of attribute id.
-
- (Object) name
readonly
Returns the value of attribute name.
Instance Method Summary (collapse)
-
- (CorporateTitle) initialize(elem)
constructor
:nodoc:.
Constructor Details
- (CorporateTitle) initialize(elem)
:nodoc:
765 766 767 768 |
# File 'lib/reve/classes.rb', line 765 def initialize(elem) #:nodoc: @id = elem['titleID'].to_i @name = elem['titleName'] end |