Method: Inspec::Runner#create_context
- Defined in:
- lib/inspec/runner.rb
#create_context(options = {}) ⇒ Object
113 114 115 116 117 118 |
# File 'lib/inspec/runner.rb', line 113 def create_context( = {}) = [:metadata] profile_id = nil profile_id = .params[:name] unless .nil? Inspec::ProfileContext.new(profile_id, @backend, @conf.merge()) end |