8
# @param [Hash] options
9
# @option options [String] :file Database file
10
# @option options [::SDBM] :backend Use existing backend instance
11
def initialize(options = {})
12
@backend = options[:backend] ||
14
raise ArgumentError, 'Option :file is required' unless options[:file]
15
::SDBM.new(options[:file])