Class: Tally::Daily

Inherits:
KeyFinder show all
Defined in:
lib/tally/daily.rb

Overview

Contains all keys set for the given day

Can be used to iterate over a large amount of smembers in the daily set

Instance Attribute Summary

Attributes inherited from KeyFinder

#key, #record, #type

Instance Method Summary collapse

Methods inherited from KeyFinder

#day, #entries, find, #initialize, #keys, #raw_keys, #records, #types

Constructor Details

This class inherits a constructor from Tally::KeyFinder

Instance Method Details

#daily_keyObject



7
8
9
# File 'lib/tally/daily.rb', line 7

def daily_key
  "#{ Tally.config.prefix }@#{ day_key }"
end