Method: Inspec::Shell#start
- Defined in:
- lib/inspec/shell.rb
#start ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/inspec/shell.rb', line 12 def start # This will hold a single evaluation binding context as opened within # the instance_eval context of the anonymous class that the profile # context creates to evaluate each individual test file. We want to # pretend like we are constantly appending to the same file and want # to capture the local variable context from inside said class. @ctx_binding = @runner.eval_with_virtual_profile("binding") configure_pry @ctx_binding.pry end |