lib/moneta/adapters/leveldb.rb in moneta-0.7.0 vs lib/moneta/adapters/leveldb.rb in moneta-0.7.1

- old
+ new

@@ -6,13 +6,11 @@ # @api public class LevelDB < Memory # Constructor # # @param [Hash] options - # - # Options: - # * :dir - Database path - # * All other options passed to LevelDB::DB#new + # @option options [String] :dir - Database path + # @option options All other options passed to `LevelDB::DB#new` def initialize(options = {}) raise ArgumentError, 'Option :dir is required' unless options[:dir] @hash = ::LevelDB::DB.new(options[:dir]) end