Method: Inspec::Resources::Package#held?
- Defined in:
- lib/inspec/resources/package.rb
#held?(_provider = nil, _version = nil) ⇒ Boolean
returns true it the package is held (if the OS supports it)
62 63 64 |
# File 'lib/inspec/resources/package.rb', line 62 def held?(_provider = nil, _version = nil) info[:held] == true end |