class LogfileInterval::Aggregator::NumLines
Public Instance Methods
add(value, group_by_value = nil)
click to toggle source
# File lib/logfile_interval/aggregator/num_lines.rb, line 4 def add(value, group_by_value = nil) if group_by_value @val.increment_subkey(:all, key(group_by_value)) else @val.increment(:all) end end