FilePath

Summary

Utility for comfortable operation with file paths

Installation

sudo gem install lonelyelk-file_path

Usage

require "rubygems"
require "file_path"

spec_dir = "spec"
spec_files = (FilePath.new / spec_dir / "*_spec.rb").list  #=> an array

(FilePath.new("/some") / "dir" / "some" / "file").exist?