diff --git a/core/set.rbs b/core/set.rbs index 87af3ce5c..1443f85ce 100644 --- a/core/set.rbs +++ b/core/set.rbs @@ -414,6 +414,15 @@ class Set[unchecked out A] # def compare_by_identity: () -> self + # + # Returns true if the set will compare its elements by their + # identity. Also see Set#compare_by_identity. + # + def compare_by_identity?: () -> bool + # + # Equivalent to Set#flatten, but replaces the receiver with the + # result in place. Returns nil if no modifications were made. + # + def flatten!: () -> self? + # + # + alias <= subset? + # + # + alias < proper_subset? + # + # + alias >= superset? + # + # + alias > proper_superset? + # + # Equivalent to Set#select! + # + alias filter! select! + # + # Returns a string created by converting each element of the set to a string + # See also: Array#join + # + def join: (?string separator) -> String end %a{annotate:rdoc:skip}