method

touch

ruby latest stable - Class: Bundler::FileUtils

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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.

Bundler::FileUtils.touch 'timestamp'
Bundler::FileUtils.touch Dir.glob('*.c');  system 'make'