pickhardt/betty — pull request #138 by redsoxfantom (2014-07-30 02:13:38+00:00)
Title: Solution for issue #127 ('betty what version' crash)

Betty attempts to execute a "strip" method on whatever the program name is. However, the regex will pass even if a program name is not supplied. If this is the case, betty crashes.

The solution is to update the 'version' command regex to require a program name. If one is not supplied, defaults to displaying Ruby's version. This closes issue 127.