Method: Path#install

Defined in:
lib/path/fileutils.rb

#install(file, **options) ⇒ Object

Install file into path (the “prefix”, which should be a directory). If file is not same as path/file, replaces it. See FileUtils.install (arguments are swapped).



83
84
85
# File 'lib/path/fileutils.rb', line 83

def install(file, **options)
  FileUtils.install(file, @path, **options)
end