RubyGems.org

A more intuitive syntax for performing a variety of file actions. Examples: "/".fwf_filepath.join('usr', 'bin', 'bash').touch FunWith::Files::FilePath.home("Music").glob(:ext => "mp3", :recurse => true) home = FunWith::Files::FilePath.home home.touch( "Music", "CDs", "BubbleBoyTechnoRemixxxx2011", "01-jiggypalooza.mp3" ) home.touch_dir( "Music", "CDs", "ReggaeSmackdown2008" ) do |dir| dir.touch( "liner_notes.txt" ) dir.touch( "cover.jpg" ) dir.touch( "01-tokin_by_the_sea.mp3" ) dir.touch( "02-tourists_be_crazy_mon.mp3" ) end

installgem install fun_with_files
Authors

Bryce Anderson

2,046 total downloads 100 for this version
Owners

C72470d41e269001f60c47d0dbf4e97f

Licenses

MIT

Gemfile
gem 'fun_with_files', '~> 0.0.7'
Versions
  1. 0.0.7 April 4, 2014 (20.5 KB)
  2. 0.0.6 February 2, 2014 (17 KB)
  3. 0.0.5 February 2, 2014 (16 KB)
  4. 0.0.4 December 13, 2013 (12 KB)
  5. 0.0.3 July 9, 2013 (11.5 KB)
Show all versions (7 total)
Runtime Dependencies
  1. xdg >= 0
Ruby Dependency
  1. >= 0