class Moneta::WeakCreate
Adds weak create support to the underlying store
@note The create method will not be thread or multi-process safe (this is meant by weak) @api public
Public Class Methods
new(adapter, options = {})
click to toggle source
@param [Moneta store] adapter The underlying store @param [Hash] options
Calls superclass method
Moneta::Proxy::new
# File lib/moneta/weak.rb, line 11 def initialize(adapter, options = {}) raise 'Store already supports feature :create' if adapter.supports?(:create) super end