Sha256: 5ac6e8fe8c8decab686d17802259969b06ead3197a5b9fe62e7bc161cee2828c
Contents?: true
Size: 435 Bytes
Versions: 354
Compression:
Stored size: 435 Bytes
Contents
class Specinfra::Command::Windows::Base::Package < Specinfra::Command::Windows::Base class << self def check_is_installed(package, version=nil) version_selection = version.nil? ? "" : "-appVersion '#{version}'" Backend::PowerShell::Command.new do using 'find_installed_application.ps1' exec "(FindInstalledApplication -appName '#{package}' #{version_selection}) -eq $true" end end end end
Version data entries
354 entries across 354 versions & 3 rubygems