Class: ChefZero::DataStore::MemoryStore
- Inherits:
-
V2ToV1Adapter
- Object
- InterfaceV1
- V2ToV1Adapter
- ChefZero::DataStore::MemoryStore
- Defined in:
- lib/chef_zero/data_store/memory_store.rb
Instance Attribute Summary
Attributes inherited from V2ToV1Adapter
Instance Method Summary collapse
-
#initialize ⇒ MemoryStore
constructor
A new instance of MemoryStore.
Methods inherited from V2ToV1Adapter
#clear, #create, #create_dir, #delete, #delete_dir, #exists?, #exists_dir?, #get, #list, #set
Methods inherited from InterfaceV1
#clear, #create, #create_dir, #delete, #delete_dir, #exists?, #exists_dir?, #get, #interface_version, #list, #set
Constructor Details
#initialize ⇒ MemoryStore
Returns a new instance of MemoryStore.
26 27 28 29 30 |
# File 'lib/chef_zero/data_store/memory_store.rb', line 26 def initialize super @real_store = ChefZero::DataStore::DefaultFacade.new(ChefZero::DataStore::MemoryStoreV2.new, "chef", true) clear end |