Ruby port of pyy