# File lib/cache_manager.rb, line 81
  def set(key, value)
    @cache[key] = value
    @timestamp[key] = Time.now
    cleanup if @limit and @cache.size > @limit
    self
  end