Sha256: e1d8f7cd46715b5a243e47c5e6d91b2e9fc3a372baa2eaec2e48016ea08164ce

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

module RestrictCache
  class Cacheable
    class Base
      def initialize
        @caches = {}
      end

      def add(content)
        raise NotImplementedError
      end

      def contents(_table_name)
        raise NotImplementedError
      end

      def size
        @caches.size
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restrict_cache-0.1.1 lib/restrict_cache/cacheable/base.rb
restrict_cache-0.1.0 lib/restrict_cache/cacheable/base.rb