# File Ruby/lib/mini_profiler/storage/redis_store.rb, line 31 def get_unviewed_ids(user) redis.smembers "#{@prefix}-#{user}-v" end
# File Ruby/lib/mini_profiler/storage/redis_store.rb, line 16 def load(id) raw = redis.get "#{@prefix}#{id}" if raw Marshal::load raw end end
# File Ruby/lib/mini_profiler/storage/redis_store.rb, line 12 def save(page_struct) redis.setex "#{@prefix}#{page_struct['Id']}", EXPIRE_SECONDS, Marshal::dump(page_struct) end
Generated with the Darkfish Rdoc Generator 2.