class Moneta::Wrapper
Wraps the calls to the adapter @api public
Public Instance Methods
clear(options = {})
click to toggle source
(see Proxy#clear)
Calls superclass method
Moneta::Proxy#clear
# File lib/moneta/wrapper.rb, line 36 def clear(options = {}) wrap(:clear, options) { super } end
close()
click to toggle source
(see Proxy#close)
Calls superclass method
Moneta::Proxy#close
# File lib/moneta/wrapper.rb, line 41 def close wrap(:close) { super } end
config()
click to toggle source
(see Proxy#config)
Calls superclass method
Moneta::Proxy#config
# File lib/moneta/wrapper.rb, line 76 def config wrap(:config) { super } end
create(key, value, options = {})
click to toggle source
(see Proxy#create)
Calls superclass method
Moneta::Proxy#create
# File lib/moneta/wrapper.rb, line 31 def create(key, value, options = {}) wrap(:create, key, value, options) { super } end
delete(key, options = {})
click to toggle source
(see Proxy#delete)
Calls superclass method
Moneta::Proxy#delete
# File lib/moneta/wrapper.rb, line 21 def delete(key, options = {}) wrap(:delete, key, options) { super } end
each_key(&block)
click to toggle source
(see Proxy#each_key)
Calls superclass method
Moneta::Proxy#each_key
# File lib/moneta/wrapper.rb, line 51 def each_key(&block) wrap(:each_key) { super } end
features()
click to toggle source
(see Proxy#features)
Calls superclass method
Moneta::Proxy#features
# File lib/moneta/wrapper.rb, line 46 def features wrap(:features) { super } end
fetch_values(*keys, **options, &defaults)
click to toggle source
(see Proxy#fetch_values)
Calls superclass method
Moneta::Proxy#fetch_values
# File lib/moneta/wrapper.rb, line 61 def fetch_values(*keys, **options, &defaults) wrap(:fetch_values, keys, options, defaults) { super } end
increment(key, amount = 1, options = {})
click to toggle source
(see Proxy#increment)
Calls superclass method
Moneta::Proxy#increment
# File lib/moneta/wrapper.rb, line 26 def increment(key, amount = 1, options = {}) wrap(:increment, key, amount, options) { super } end
key?(key, options = {})
click to toggle source
(see Proxy#key?)
Calls superclass method
Moneta::Proxy#key?
# File lib/moneta/wrapper.rb, line 6 def key?(key, options = {}) wrap(:key?, key, options) { super } end
load(key, options = {})
click to toggle source
(see Proxy#load)
Calls superclass method
Moneta::Proxy#load
# File lib/moneta/wrapper.rb, line 11 def load(key, options = {}) wrap(:load, key, options) { super } end
merge!(pairs, options = {})
click to toggle source
(see Proxy#merge!)
Calls superclass method
Moneta::Proxy#merge!
# File lib/moneta/wrapper.rb, line 71 def merge!(pairs, options = {}) wrap(:merge!, pairs, options) { super } end
slice(*keys, **options)
click to toggle source
(see Proxy#slice)
Calls superclass method
Moneta::Proxy#slice
# File lib/moneta/wrapper.rb, line 66 def slice(*keys, **options) wrap(:slice, keys, options) { super } end
store(key, value, options = {})
click to toggle source
(see Proxy#store)
Calls superclass method
Moneta::Proxy#store
# File lib/moneta/wrapper.rb, line 16 def store(key, value, options = {}) wrap(:store, key, value, options) { super } end
values_at(*keys, **options)
click to toggle source
(see Proxy#values_at)
Calls superclass method
Moneta::Proxy#values_at
# File lib/moneta/wrapper.rb, line 56 def values_at(*keys, **options) wrap(:values_at, keys, options) { super } end