Collections Ruby

require 'set'
p s = Set.new((1..10).collect)
# => #