Skip to content
This repository has been archived by the owner on Jun 28, 2020. It is now read-only.
/ file_path Public archive

Simplified interation with file paths in ruby

License

Notifications You must be signed in to change notification settings

lonelyelk/file_path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

About

Simplified interation with file paths in ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages