On this page
module · Ruby 4.0
Set::SubclassCompatible
39 instance methods
1 class methods
This module is automatically included in subclasses of Set, to make them backwards compatible with the pure-Ruby set implementation used before Ruby 4. Users who want to use Set subclasses without this compatibility layer should subclass from Set::CoreSet.
Note that Set subclasses that access @hash are not compatible even with this support. Such subclasses must be updated to support Ruby 4.
Class methods 1
Instance methods 39
#&
#+
#-
#<
#<=
#<=>
#==
#>
#>=
#^
#|
#add?
#classify
#collect!
#delete?
#delete_if
#difference
#disjoint?
#filter!
#flatten
#flatten!
#inspect
#intersect?
#intersection
#join
#keep_if
#map!
#merge
#proper_subset?
#proper_superset?
#reject!
#replace
#select!
#subset?
#subtract
#superset?
#to_s
#to_set
#union
Constants
No documentation available