lib/tf2_line_parser/events/round_length.rb
# frozen_string_literal: true
module TF2LineParser
module Events
class RoundLength < RoundEventWithVariables
def self.round_type
@round_type ||= 'Round_Length'
end
def self.round_variable_regex
@round_variable_regex ||= /\(seconds "(?'length'.*)"\)/.freeze
end
def self.round_variable
@round_variable ||= :length
end
end
end
end