public Method

Sys.copy_files(wildcard, dest_dir)

Copy all files matching wildcard into the directory dest_dir.

Source Code

# File rake/contrib/sys.rb, line 71
def copy_files(wildcard, dest_dir)
  for_matching_files(wildcard, dest_dir) { |from, to| copy(from, to) }
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.