Class: Wowlog::AuraDoseParser

Inherits:
ColumnParser show all
Defined in:
lib/wowlog.rb

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



300
301
302
303
304
305
# File 'lib/wowlog.rb', line 300

def parse(cols, obj)
  cols, obj = super(cols, obj)
  obj['auraType'] = cols.shift
  obj['powerType'] = resolv_power_type(cols.shift) if cols.size > 0
  return cols, obj
end