Today’s freebie (episode 55, if you’re counting) covers a simple technique for making a single
.rb file work as either a library or a runnable script. In the process, it covers the
__FILE__ constant and the
Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts