Returns a new instance of Profile.
27 28 29 30 31 32 33
# File 'lib/bundles/inspec-habitat/profile.rb', line 27 def initialize(path, options = {}) @path = path @options = options log_level = options.fetch('log_level', 'info') Habitat::Log.level(log_level.to_sym) end