Class: Replr::Boot
- Inherits:
-
Object
- Object
- Replr::Boot
- Defined in:
- lib/replr/boot.rb
Overview
Starts up REPL creation & wires up rest of the pieces
Instance Attribute Summary collapse
-
#argument_processor ⇒ Object
readonly
Returns the value of attribute argument_processor.
-
#process_runner ⇒ Object
readonly
Returns the value of attribute process_runner.
Instance Method Summary collapse
Instance Attribute Details
#argument_processor ⇒ Object (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_runner ⇒ Object (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
#start ⇒ Object
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 |