Class: Replr::Boot

Inherits:
Object
  • Object
show all
Defined in:
lib/replr/boot.rb

Overview

Starts up REPL creation & wires up rest of the pieces

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argument_processorObject (readonly)

Returns the value of attribute argument_processor.



11
12
13
# File 'lib/replr/boot.rb', line 11

def argument_processor
  @argument_processor
end

#process_runnerObject (readonly)

Returns the value of attribute process_runner.



11
12
13
# File 'lib/replr/boot.rb', line 11

def process_runner
  @process_runner
end

Instance Method Details

#startObject



13
14
15
16
17
18
19
# File 'lib/replr/boot.rb', line 13

def start
  @argument_processor = Replr::ArgumentProcessor.new
  @process_runner = Replr::ProcessRunner.new

  check_docker!
  execute_processsed_arguments!
end