Class: Csvtool::Interface::CLI::Workflows::Steps::Parity::BuildSessionStep

Inherits:
Object
  • Object
show all
Defined in:
lib/csvtool/interface/cli/workflows/steps/parity/build_session_step.rb

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/csvtool/interface/cli/workflows/steps/parity/build_session_step.rb', line 10

def call(context)
  context[:session] = context.fetch(:session_builder).call(
    left_path: context.fetch(:left_path),
    right_path: context.fetch(:right_path),
    col_sep: context.fetch(:col_sep),
    headers_present: context.fetch(:headers_present)
  )
  nil
end