lucky_cache
main
LuckyCache
BaseStore
CacheKey
Cachable
CachableTypes
CacheItem
HabitatSettings
HtmlHelpers
MemoryStore
NullStore
struct
LuckyCache::CacheItem
LuckyCache::CacheItem
Struct
Value
Object
Defined in:
lucky_cache/cache_item.cr
Constructors
.new
(value : CachableTypes, expires_in : Time::Span)
Instance Method Summary
#expired?
#expires_in
: Time::Span
#value
: CachableTypes
Constructor Detail
def self.
new
(value :
CachableTypes
, expires_in : Time::Span)
#
[
View source
]
Instance Method Detail
def
expired?
#
[
View source
]
def
expires_in
: Time::Span
#
[
View source
]
def
value
:
CachableTypes
#
[
View source
]