Sha256: c3b6ceded18bb5b97f6da3a80fe3e4f06bfe1ab79e9e115f0f065d923c0b3e68

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

module Daijobu
  
  module Adapter
    
    class MemCacheAdapter
      
      def initialize(store)
        @store = store
      end
      
      def get(key)
        @store.get(key, true)
      end
      
      def set(key, value)
        @store.set(key, value, 0, true)
      end
      
    end
    
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sander6-daijobu-0.1.1 lib/daijobu/adapters/mem_cache.rb