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.
46 47 48 |
# File 'lib/inspec/dependencies/requirement.rb', line 46 def name @name || profile.name end |