Mega Code Archive
Categories
/
Ruby
/
Range
Convert range to set
require 'set' (1..3).to_set # => #