Method: Train::File::Local::Windows#product_version
- Defined in:
- lib/train/file/local/windows.rb
#product_version ⇒ Object
15 16 17 18 |
# File 'lib/train/file/local/windows.rb', line 15 def product_version @product_version ||= @backend.run_command( "[System.Diagnostics.FileVersionInfo]::GetVersionInfo(\"#{@spath}\").ProductVersion").stdout.chomp end |