Class: Serverspec::Type::WindowsFeature

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/windows_feature.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)


4
5
6
# File 'lib/serverspec/type/windows_feature.rb', line 4

def installed?(provider, version)
    backend.check_windows_feature_enabled(@name, provider)
end