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