Method: Inspec::Resources::WindowsFeature#installed?

Defined in:
lib/inspec/resources/windows_feature.rb

#installed?Boolean

returns true if the package is installed

Returns:

  • (Boolean)


35
36
37
# File 'lib/inspec/resources/windows_feature.rb', line 35

def installed?
  info[:installed] == true
end