Class | GH::Cache::SimpleCache |
In: |
lib/gh/cache.rb
|
Parent: | Object |
Internal: Initializes a new SimpleCache.
size - Number of objects to hold in cache.
Internal: Tries to fetch a value from the cache and if it doesn‘t exist, generates it from the block given.