Parent

Methods

Included Modules

Files

Class/Module Index [+]

Quicksearch

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

# File lib/moneta/weak.rb, line 11
def initialize(adapter, options = {})
  raise 'Store already supports feature :create' if adapter.supports?(:create)
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.