In ruby

Only pair and sets