Class: TF2LineParser::Events::FinalScore
- Defined in:
- lib/tf2_line_parser/events/final_score.rb
Instance Attribute Summary
Attributes inherited from Event
#airshot, #cap_name, #cap_number, #customkill, #healing, #item, #length, #message, #method, #player, #role, #score, #target, #team, #time, #type, #ubercharge, #unknown, #value, #weapon
Class Method Summary collapse
Methods inherited from Score
attributes, #initialize, regex_score, regex_team
Methods inherited from Event
#parse_time, regex_cap, regex_console, regex_message, regex_player, regex_results, regex_target, regex_time, time_format, types
Constructor Details
This class inherits a constructor from TF2LineParser::Events::Score
Class Method Details
.regex ⇒ Object
7 8 9 |
# File 'lib/tf2_line_parser/events/final_score.rb', line 7 def self.regex @regex ||= /#{regex_time} #{regex_team} final score #{regex_score} with .*/.freeze end |