Registry / utility / simple-cache

simple-cache

JSON →
library0.1.0rbrubygemsunverified

Pure Ruby caching solution inspired by ActiveRecord::Cache for in-memory caching.

gem install simple_cache
INSTALL
IMPORT
SIG · SIMPLE-CACHE
S
simple-cache
utilityrubyv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimpleCache
require 'simple_cache'

Caches a value with an expiration time and retrieves it.

require 'simple_cache' cache = SimpleCache.new cache.write('key', 'value', expires_in: 60) puts cache.read('key')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
simple-cache — gem install simple-cache · libregistry