# File lib/nanite/security/certificate_cache.rb, line 18 def put(key, item) if @items.include?(key) delete(key) end if @list.size == @max_count delete(@list.first) end @items[key] = item @list.push(key) item end