2 require_relative 'book'
3 require_relative 'store'
8 def initialize(config_file, queue)
9 @config_file = config_file
14 @store = Store.new(@config_file)
18 until file == DONE_MARKER do
19 book = Book.new(@store)
20 book.load_from_file!(file)
21 @store.store_book(book)