File copy in ruby


/ Published in: Ruby
Save to your folder(s)

Difficult to find in documentation but so easy


Copy this code and paste it in your HTML
  1. require "ftools"
  2.  
  3. File.copy(src,target)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.