Module: Mac::Exec

Includes:
Beaker::CommandFactory
Included in:
Host
Defined in:
lib/beaker/host/mac/exec.rb

Instance Attribute Summary

Attributes included from Beaker::CommandFactory

#assertions

Instance Method Summary collapse

Methods included from Beaker::CommandFactory

#execute, #fail_test

Instance Method Details

#touch(file, abs = true) ⇒ Object



4
5
6
# File 'lib/beaker/host/mac/exec.rb', line 4

def touch(file, abs=true)
  (abs ? '/usr/bin/touch' : 'touch') + " #{file}"
end