Class: Kitchen::Driver::VmpoolStores::FileStore
- Defined in:
- lib/kitchen/driver/vmpool_stores/file_store.rb
Instance Attribute Summary
Attributes inherited from BaseStore
Instance Method Summary collapse
-
#initialize(options = nil) ⇒ FileStore
constructor
A new instance of FileStore.
Methods inherited from BaseStore
#create, #read, #reread, #save, #update
Constructor Details
#initialize(options = nil) ⇒ FileStore
Returns a new instance of FileStore.
9 10 11 12 13 |
# File 'lib/kitchen/driver/vmpool_stores/file_store.rb', line 9 def initialize( = nil) raise ArgumentError unless ['pool_file'] ||= { 'pool_file' => 'vmpool.yaml' } @pool_file = ['pool_file'] end |