method

touch

Importance_1
touch(list, noop: nil, verbose: nil, mtime: nil, nocreate: nil) public

Updates modification time (mtime) and access time (atime) of file(s) in list. Files are created if they don’t exist.

FileUtils.touch 'timestamp'
FileUtils.touch Dir.glob('*.c');  system 'make'
Show source
Register or log in to add new notes.