command line checkers with ruby