mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
3fa4bd8292
- SortedSet has been removed for dependency and performance reasons. - Set#join is added as a shorthand for `.to_a.join`. - Set#<=> is added. https://github.com/ruby/set/blob/v1.0.0/CHANGELOG.md
6 lines
196 B
Ruby
6 lines
196 B
Ruby
begin
|
|
require 'sorted_set'
|
|
rescue ::LoadError
|
|
raise "The `SortedSet` class has been extracted from the `set` library." \
|
|
"You must use the `sorted_set` gem or other alternatives."
|
|
end
|