Method: Inspec::Shell#start
- Defined in:
- lib/inspec/shell.rb
#start ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/inspec/shell.rb', line 17 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 |