Method: Inspec::ProfileContext.for_profile

Defined in:
lib/inspec/profile_context.rb

.for_profile(profile, backend, attributes) ⇒ Object



15
16
17
18
# File 'lib/inspec/profile_context.rb', line 15

def self.for_profile(profile, backend, attributes)
  new(profile.name, backend, { 'profile' => profile,
                               'attributes' => attributes })
end