Class: Serverspec::Type::WindowsHotFix

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/windows_hot_fix.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_ary, #to_s

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#installed?(provider, version) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/serverspec/type/windows_hot_fix.rb', line 3

def installed?(provider, version)
  @runner.check_hot_fix_is_installed(@name, version)
end