Object
mark entry as dirty and schedule it to expire at given time
# File lib/syncache/syncache.rb, line 58 def expire_at(time) @expires = time if @expires > time @dirty = true end
record the fact that the entry was accessed
# File lib/syncache/syncache.rb, line 39 def record_access return if @dirty @expires = Time.now + (@ttl or FOREVER) end
Generated with the Darkfish Rdoc Generator 2.