Method: Inspec::Requirement#name
- Defined in:
- lib/inspec/dependencies/requirement.rb
#name ⇒ Object
A dependency can be renamed in inspec.yml/inspec.lock. Prefer the name the user gave this dependency over the profile name.
60 61 62 |
# File 'lib/inspec/dependencies/requirement.rb', line 60 def name @name || profile.name end |