Method: Sys#link_files
- Defined in:
- lib/carat-dev/misc/sys.rb
#link_files(wildcard, dest_dir) ⇒ Object
Link all files matching wildcard into the directory dest_dir.
79 80 81 |
# File 'lib/carat-dev/misc/sys.rb', line 79 def link_files(wildcard, dest_dir) for_matching_files(wildcard, dest_dir) { |from, to| link(from, to) } end |