Class: Moneta::Adapters::YAML
- Inherits:
-
PStore
- Object
- Moneta::Adapter
- PStore
- Moneta::Adapters::YAML
- Defined in:
- lib/moneta/adapters/yaml.rb
Overview
YAML::Store backend
Instance Attribute Summary
Attributes inherited from Moneta::Adapter
Instance Method Summary collapse
- #initialize(options = {}) ⇒ Object constructor
Methods inherited from PStore
#clear, #create, #delete, #each_key, #fetch_values, #increment, #key?, #load, #merge!, #slice, #store, #values_at
Methods included from NilValues
#fetch_values, #merge!, #slice
Methods inherited from Moneta::Adapter
backend, backend_block, backend_required?
Methods included from Config
Methods included from Defaults
#[], #[]=, #close, #create, #decrement, #each_key, #features, #fetch, #fetch_values, included, #increment, #key?, #merge!, #slice, #supports?, #update, #values_at
Methods included from OptionSupport
#expires, #prefix, #raw, #with
Constructor Details
#initialize(options = {}) ⇒ Object
14 |
# File 'lib/moneta/adapters/yaml.rb', line 14 backend { |file:, threadsafe: false, **| ::YAML::Store.new(file, threadsafe, ) } |