lib/inspec/resources/service.rb
def has_start_mode?(mode)
      raise Inspec::Exceptions::ResourceSkipped, "The `has_start_mode` matcher is not supported on your OS yet." unless inspec.os.windows?

      mode == startmode
    end
# matcher equivalent to startmode property; compares start-up mode
# supported only on windows.
matcher equivalent to startmode property; compares start-up mode
supported only on windows.
matcher equivalent to startmode property ; compares start - up mode supported only on windows .
def has_start_mode?(mode)
      raise Inspec::Exceptions::ResourceSkipped, "The `has_start_mode` matcher is not supported on your OS yet." unless inspec.os.windows?
      mode == startmode
    end
def has_start_mode? ( mode ) raise Inspec :: Exceptions :: ResourceSkipped , "The `has_start_mode` matcher is not supported on your OS yet." unless inspec . os . windows? mode == startmode end
matcher equivalent to startmode property; compares start-up mode
supported only on windows.
matcher equivalent to startmode property ; compares start - up mode supported only on windows .
mode