Sha256: d14e92c4b86ad65510d516c9a3e717640de9ab0b34b6cb4231e3d76e48f1e7a1

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 Bytes

Contents

module CurlyMustache
  module Adapters
    class Abstract
      
      def initialize(config)
        raise RuntimeError, "Not implemented!"
      end
      
      def get(key)
        raise RuntimeError, "Not implemented!"
      end
      
      def mget(keys)
        keys.collect{ |key| get(key) }.compact
      end
      
      def put(key, value)
        raise RuntimeError, "Not implemented!"
      end
      
      def delete(key)
        raise RuntimeError, "Not implemented!"
      end
      
      # Needed for tests.
      def flush_db
        raise RuntimeError, "Not implemented!"
      end
      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cjbottaro-curly_mustache-0.0.0 lib/adapters/abstract.rb