Class: Reve::Classes::FactionKills
- Inherits:
-
FactionWarKills
- Object
- FactionWarKills
- Reve::Classes::FactionKills
- Defined in:
- lib/reve/classes.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from FactionWarKills
Instance Method Summary collapse
-
#initialize(elem) ⇒ FactionKills
constructor
:nodoc:.
Constructor Details
#initialize(elem) ⇒ FactionKills
:nodoc:
229 230 231 232 233 |
# File 'lib/reve/classes.rb', line 229 def initialize(elem) #:nodoc: super(elem) @name = elem['factionName'] @id = elem['factionID'].to_i end |