Method: Inspec::Profile.for_target
- Defined in:
- lib/inspec/profile.rb
.for_target(target, opts = {}) ⇒ Object
75 76 77 78 79 |
# File 'lib/inspec/profile.rb', line 75 def self.for_target(target, opts = {}) opts[:cache] = opts[:cache] || Cache.new fetcher = resolve_target(target, opts[:cache]) for_fetcher(fetcher, opts) end |