class

Horn::Caching(K, V)

Inherits Horn::Expressions < Reference < Object

Constructors

new(valid : Proc(K, Bool) = ->(key : K) do true end)
Source

Instance methods

[](key : K)
Source
[]=(key : K, val : V)
Source
reset
Source