Top Level Namespace

Defined Under Namespace

Modules: Ingestor

Instance Method Summary collapse

Instance Method Details

#ingest(filename, &block) ⇒ Object



28
29
30
31
32
# File 'lib/ingestor.rb', line 28

def ingest(filename, &block)
  options = Ingestor::Dsl.new
  options.file = filename
  proxy = Docile.dsl_eval(options, &block).build.start!
end