Method: Train::File::Local::Windows#file_version
- Defined in:
- lib/train/file/local/windows.rb
#file_version ⇒ Object
20 21 22 23 |
# File 'lib/train/file/local/windows.rb', line 20 def file_version @file_version ||= @backend.run_command( "[System.Diagnostics.FileVersionInfo]::GetVersionInfo(\"#{@spath}\").FileVersion").stdout.chomp end |