Skip to content

Instantly share code, notes, and snippets.

@beakr
Created April 28, 2012 17:12
Show Gist options
  • Save beakr/2520307 to your computer and use it in GitHub Desktop.
Save beakr/2520307 to your computer and use it in GitHub Desktop.
Pass in an array for common fileutils (touch, mkdir, etc.) to evaluate through.
require 'fileutils'
touch %w( file1 file2 file3 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment