class Sprockets::Cache::MemoryStore
def get(key)
Experimental RBS support (using type sampling data from the type_fusion
project).
def get: (String key) -> String?
This signature was generated using 55 samples from 3 applications.
key - String cache key.
This API should not be used directly, but via the Cache wrapper API.
Public: Retrieve value from cache.
def get(key) @mutex.synchronize do exists = true value = @cache.delete(key) { exists = false } if exists @cache[key] = value else nil end end end