Class: Wowlog::SpellParser
- Inherits:
-
ActionEvent
- Object
- ColumnParser
- EventParser
- ActionEvent
- Wowlog::SpellParser
- Defined in:
- lib/wowlog.rb
Overview
Prefix Parser Set
Constant Summary
Constants inherited from ColumnParser
ColumnParser::OBJECT_SPECIAL_MASK, ColumnParser::PT_MAP, ColumnParser::SCHOOL_FLAG_MAP, ColumnParser::UNIT_FLAG_MAP, ColumnParser::UNIT_SPECIAL_FLAG_MAP
Instance Method Summary collapse
Methods inherited from ColumnParser
#initialize, #int, #parse_school_flag, #parse_unit_flag, #resolv_power_type
Constructor Details
This class inherits a constructor from Wowlog::ColumnParser
Instance Method Details
#parse(cols, obj) ⇒ Object
164 165 166 167 168 169 170 |
# File 'lib/wowlog.rb', line 164 def parse(cols, obj) cols, obj = super(cols, obj) obj['spellId'] = cols.shift obj['spellName'] = cols.shift obj['spellSchool'] = parse_school_flag(cols.shift) return cols, obj end |