Sha256: c49d3416af137b2eab0b47434625df3ec3c57e9bfd961d1f914ffc3cde30fdc0

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

module Daijobu
  
  module Adapter
    
    class TokyoCabinetAdapter
      
      def initialize(store)
        @store = store
      end
      
      def get(key)
        @store[key]
      end
      
      def set(key, value)
        @store[key] = value
      end
      
    end
    
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

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