three in ruby