Flowdock
method

for_matching_files

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: Sys
for_matching_files(wildcard, dest_dir) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rake/contrib/sys.rb, line 174
  def for_matching_files(wildcard, dest_dir)
    Dir[wildcard].each do |fn|
      dest_file = File.join(dest_dir, fn)
      parent = File.dirname(dest_file)
      makedirs(parent) if ! File.directory?(parent)
      yield(fn, dest_file)
    end
  end
Register or log in to add new notes.