Method: Inspec::Requirement#profile
- Defined in:
- lib/inspec/dependencies/requirement.rb
#profile ⇒ Object
98 99 100 101 102 103 104 105 106 107 |
# File 'lib/inspec/dependencies/requirement.rb', line 98 def profile return @profile if ! @profile.nil? opts = @opts.dup opts[:backend] = @backend if !@dependencies.nil? opts[:dependencies] = Inspec::DependencySet.from_array(@dependencies, @cwd, @cache, @backend) end @profile = Inspec::Profile.for_fetcher(fetcher, opts) end |