Gob's program in ruby