infinite set in ruby