Skip to content
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

Constants
No documentation available