Class GH::Cache::SimpleCache
In: lib/gh/cache.rb
Parent: Object

Internal: Simple in-memory cache basically implementing a copying GC.

Methods

clear   fetch   new  

Public Class methods

Internal: Initializes a new SimpleCache.

size - Number of objects to hold in cache.

Public Instance methods

Internal: …

Internal: Tries to fetch a value from the cache and if it doesn‘t exist, generates it from the block given.

[Validate]