Set subtraction
require 'set' s = (1..3).to_set # => #<Set: {1, 2, 3}> s.subtract(2..10) # => #<Set: {1}>