class Litequeue
def initialize
def initialize configuration = self.class.configuration file = configuration.path options = configuration.to_h .slice(:synchronous, :mmap_size, :journal_size_limit) .merge(migrations: self.class.migrations, statements: self.class.statements) @db = Litedb::Connection.new(file, options) # Once the instance has been initialized, don't allow the configuration to be changed # as it won't have any effect. configuration.freeze end