A simplified rawdog clone, in Ruby