This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
freeformz/rwhich
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Based on tenderlove's #which http://tenderlovemaking.com/2011/12/05/profiling-rails-startup-with-dtrace/ Base Use: > require 'rwhich/file' > File.which 'ls' => "/bin/ls" > File.which 'hahahahahah' #assuming you don't have a hahahahahah executable in ENV['PATH'] => nil Other Use: > require 'rwhich' > Class Foo extend RWhich end > Foo.which 'ls' => "/bin/ls" > Class Bar include RWhich end > bar = Bar.new > bar.which 'ls' => "/bin/ls"
About
Ruby Which
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published