Method: Inspec::Formatters::Base#add_profile
- Defined in:
- lib/inspec/formatters/base.rb
#add_profile(profile) ⇒ Object
Add the current profile to the list of executed profiles. Called by the runner during example collection.
77 78 79 |
# File 'lib/inspec/formatters/base.rb', line 77 def add_profile(profile) @profiles.push(profile) end |