Sha256: 6972b684b352f2844f9fbcf181429a424d4690aa5b30b284b1daff528ed7d530
Contents?: true
Size: 250 Bytes
Versions: 6
Compression:
Stored size: 250 Bytes
Contents
module Garterbelt def self.cache_hash @cache_hash ||= {:default => Moneta::Memory.new} end def self.cache(store = :default) c = cache_hash[store] raise "Cache #{store.inspect} has not yet been configured" unless c c end end
Version data entries
6 entries across 6 versions & 1 rubygems