Method: Inspec::Runner#add_target
- Defined in:
- lib/inspec/runner.rb
#add_target(target, options = {}) ⇒ Object
49 50 51 52 53 |
# File 'lib/inspec/runner.rb', line 49 def add_target(target, = {}) profile = Inspec::Profile.for_target(target, ) fail "Could not resolve #{target} to valid input." if profile.nil? add_profile(profile, ) end |