module ActiveSupport::Cache::MemoryStore::DupCoder
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/active_support/cache/memory_store.rbs module ActiveSupport::Cache::MemoryStore::DupCoder def load: (ActiveSupport::Cache::Entry entry) -> ActiveSupport::Cache::Entry end
def dump(entry)
def dump(entry) entry.dup_value! unless entry.compressed? entry end
def dump_compressed(entry, threshold)
def dump_compressed(entry, threshold) entry = entry.compressed(threshold) entry.dup_value! unless entry.compressed? entry end
def load(entry)
Experimental RBS support (using type sampling data from the type_fusion
project).
def load: (ActiveSupport::Cache::Entry entry) -> ActiveSupport::Cache::Entry
This signature was generated using 1 sample from 1 application.
def load(entry) entry = entry.dup entry.dup_value! entry end