Method: Sys#install
- Defined in:
- lib/carat-dev/misc/sys.rb
#install(wildcard, dest_dir, mode) ⇒ Object
Install all the files matching wildcard into the dest_dir directory. The permission mode is set to mode.
44 45 46 47 48 |
# File 'lib/carat-dev/misc/sys.rb', line 44 def install(wildcard, dest_dir, mode) Dir[wildcard].each do |fn| File.install(fn, dest_dir, mode, $verbose) end end |