lib/ldclient-rb/store.rb in ldclient-rb-0.7.0 vs lib/ldclient-rb/store.rb in ldclient-rb-0.8.0
- old
+ new
@@ -33,7 +33,14 @@
#
# @return [Object] the value
def write(key, value)
@cache[key] = value
end
+
+ #
+ # Delete a value in the cache
+ # @param key [Object] the cache key
+ def delete(key)
+ @cache.delete(key)
+ end
end
end