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"
Project
rwhich
Ruby Which
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
Development
Project Readme