Sha256: 05edccd2885068d373cc58b52d11996c9e578800246b3496d996939448225f08
Contents?: true
Size: 400 Bytes
Versions: 14
Compression:
Stored size: 400 Bytes
Contents
module Aix::File include Beaker::CommandFactory def tmpfile(name = '', extension = nil) execute("rndnum=${RANDOM} && touch /tmp/#{name}.${rndnum}#{extension} && echo /tmp/#{name}.${rndnum}#{extension}") end def tmpdir(name = '') execute("rndnum=${RANDOM} && mkdir /tmp/#{name}.${rndnum} && echo /tmp/#{name}.${rndnum}") end def path_split(paths) paths.split(':') end end
Version data entries
14 entries across 14 versions & 1 rubygems