Method: PSWindows::File#tmpfile
- Defined in:
- lib/beaker/host/pswindows/file.rb
#tmpfile(name) ⇒ Object
4 5 6 7 |
# File 'lib/beaker/host/pswindows/file.rb', line 4 def tmpfile(name) result = exec(powershell('[System.IO.Path]::GetTempFileName()')) result.stdout.chomp() end |