SDBM backend @api public
@param [Hash] options @option options [String] :file Database file @option options [::SDBM] :backend Use existing backend instance
# File lib/moneta/adapters/sdbm.rb, line 11 def initialize(options = {}) @backend = options[:backend] || begin raise ArgumentError, 'Option :file is required' unless options[:file] ::SDBM.new(options[:file]) end end
(see Proxy#close)
# File lib/moneta/adapters/sdbm.rb, line 20 def close @backend.close nil end
Generated with the Darkfish Rdoc Generator 2.