title: Can a Ruby script tell what directory it’s in?
body: <p>Inspired by "<a href="https://stackoverflow.com/questions/59895/can-a-bash-script-tell-which-directory-it-is-stored-in">Getting the source directory of a Bash script from within</a>", what's the Ruby way to do this?</p>