method

touch

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'