lib/thread_cache.rb in thread_cache-1.0.0 vs lib/thread_cache.rb in thread_cache-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-require_relative './thread_cache/version'
+require_relative 'thread_cache/version'
# A simple thread-local cache store
#
# options:
# namespace: Thread attribute name to use as data store (String or Symbol)
@@ -25,10 +25,10 @@
data_store.key?(key)
end
# Writes a key-value pair to the data store.
#
- # NOTE: value is written as it is given, it does not duplicate nor serialize it.
+ # NOTE: value is written as is. It does not duplicate nor serialize it.
#
# key: (String or Symbol)
# value: (any type)
# options:
# version: sets the value's version (any type)