New Ruby port for decades-old hex tool