class Ravanello::Statistics
Contains statistics result for the matched groups
Attributes
data[R]
Public Class Methods
new()
click to toggle source
# File lib/ravanello/statistics.rb, line 8 def initialize @data = {} end
Public Instance Methods
append(path, redis_key)
click to toggle source
# File lib/ravanello/statistics.rb, line 12 def append(path, redis_key) data[path] = Item.new if data[path].nil? data[path].inc(redis_key) end