Method: Train::Extras::WindowsFile#product_version

Defined in:
lib/train/extras/file_windows.rb

#product_versionObject



78
79
80
81
# File 'lib/train/extras/file_windows.rb', line 78

def product_version
  @product_version ||= @backend.run_command(
    "[System.Diagnostics.FileVersionInfo]::GetVersionInfo(\"#{@spath}\").ProductVersion").stdout.chomp
end