Method: Inspec::RuntimeProfile#initialize

Defined in:
lib/inspec/runtime_profile.rb

#initialize(profile) ⇒ RuntimeProfile

Returns a new instance of RuntimeProfile.



7
8
9
10
11
12
# File 'lib/inspec/runtime_profile.rb', line 7

def initialize(profile)
  @src = profile.source_reader
  @files = @src.data_files.keys.map do |k|
    k.sub("files" + File::SEPARATOR, "")
  end
end