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