Sha256: 91d8fd2a3718c4ac11f41beb5cc31809afeb8c16996704b49b998f39c89304ee
Contents?: true
Size: 530 Bytes
Versions: 2
Compression:
Stored size: 530 Bytes
Contents
module Drydock module ObjectCaches class Base def clear fail NotImplementedError, '#clear must be overridden in the subclass' end def fetch(key, &blk) fail NotImplementedError, '#fetch must be overridden in the subclass' end def get(key, &blk) fail NotImplementedError, '#get must be overridden in the subclass' end def set(key, value = nil, &blk) fail NotImplementedError, '#set must be overridden in the subclass' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dry-dock-0.2.0 | lib/drydock/object_caches/base.rb |
dry-dock-0.1.6 | lib/drydock/object_caches/base.rb |