Method: Inspec::Requirement#name

Defined in:
lib/inspec/dependencies/requirement.rb

#nameObject

A dependency can be renamed in inspec.yml/inspec.lock. Prefer the name the user gave this dependency over the profile name.



62
63
64
# File 'lib/inspec/dependencies/requirement.rb', line 62

def name
  @name || profile.name
end