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"
  3. File.copy(src,target)

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.