Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Chef::ReservedNames::Win32::Version

Public Class Methods

new() click to toggle source
# File lib/chef/win32/version.rb, line 44
def initialize
  @major_version, @minor_version, @build_number = get_version
  ver_info = get_version_ex
  @product_type = ver_info[:w_product_type]
  @suite_mask = ver_info[:w_suite_mask]
  @sp_major_version = ver_info[:w_service_pack_major]
  @sp_minor_version = ver_info[:w_service_pack_minor]
  @sku = get_product_info(@major_version, @minor_version, @sp_major_version, @sp_minor_version)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.