Implements simple create using key? and store.
This is sufficient for non-shared stores or if atomicity is not required. @api private
(see Defaults#create)
# File lib/moneta/mixins.rb, line 242 def create(key, value, options = {}) if key? key false else store(key, value, options) true end end
Generated with the Darkfish Rdoc Generator 2.