Module: Windows::File
Instance Method Summary collapse
Methods included from Beaker::CommandFactory
Instance Method Details
#path_split(paths) ⇒ Object
12 13 14 |
# File 'lib/beaker/host/windows/file.rb', line 12 def path_split(paths) paths.split(';') end |
#tmpdir(name) ⇒ Object
8 9 10 |
# File 'lib/beaker/host/windows/file.rb', line 8 def tmpdir(name) execute("cygpath -m $(mktemp -td #{name}.XXXXXX)") end |
#tmpfile(name) ⇒ Object
4 5 6 |
# File 'lib/beaker/host/windows/file.rb', line 4 def tmpfile(name) execute("cygpath -m $(mktemp -t #{name}.XXXXXX)") end |