Method: Inspec::Resources::WindowsTasks#exists?

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

#exists?Boolean

Returns:

  • (Boolean)


34
35
36
37
38
# File 'lib/inspec/resources/windows_task.rb', line 34

def exists?
  return true unless info.nil? || info[:uri].nil?

  false
end