data Rotor::Cached[V](guards: Array[Rotor::Guard], value: V)

A translation kept, with the guards it holds for.

/home/runner/work/rotor/rotor/src/cache.qz:221

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

/home/runner/work/rotor/rotor/src/cache.qz:221

def with(*, guards: Array[Rotor::Guard] = …, value: V = …) -> Rotor::Cached[V]

A copy with the fields given replaced.

/home/runner/work/rotor/rotor/src/cache.qz:221

def guards -> Array[Rotor::Guard]

/home/runner/work/rotor/rotor/src/cache.qz:221

def value -> V

/home/runner/work/rotor/rotor/src/cache.qz:221