Class: Isq::Export

Inherits:
Object
  • Object
show all
Defined in:
lib/isq/export.rb

Instance Method Summary collapse

Constructor Details

#initialize(dataset:, export_dir:, format: :both) ⇒ Export

Returns a new instance of Export.



8
9
10
11
12
# File 'lib/isq/export.rb', line 8

def initialize(dataset:, export_dir:, format: :both)
  @dataset = dataset
  @export_dir = export_dir
  @format = format
end

Instance Method Details

#runObject



14
15
16
17
18
19
# File 'lib/isq/export.rb', line 14

def run
  prepare_output_dir
  write_per_part
  write_bulk
  write_manifest
end