push_dir
Push_dir is a quick and dirty little ruby gem that simplifies working directory management, allowing you to write code looking like this:
include PushDir
push_dir '/' do
# What you do here will be in '/'
end
# While what you do here will be where you were last.
You can see it here, or nab the gem with gem install push_dir
Advertisement

No trackbacks yet.