core/set.rbs in rbs-3.3.0.pre.1 vs core/set.rbs in rbs-3.3.0.pre.2

- old
+ new

@@ -437,11 +437,11 @@ # Set[1, 2, 3].disjoint? Set[3, 4] #=> false # Set[1, 2, 3].disjoint? Set[4, 5] #=> true # Set[1, 2, 3].disjoint? [3, 4] #=> false # Set[1, 2, 3].disjoint? 4..5 #=> true # - def disjoint?: (self) -> bool + def disjoint?: (_Each[A]) -> bool # <!-- # rdoc-file=lib/set.rb # - divide(&func) # --> @@ -500,11 +500,11 @@ # Set[1, 2, 3].intersect? Set[4, 5] #=> false # Set[1, 2, 3].intersect? Set[3, 4] #=> true # Set[1, 2, 3].intersect? 4..5 #=> false # Set[1, 2, 3].intersect? [3, 4] #=> true # - def intersect?: (self) -> bool + def intersect?: (_Each[A]) -> bool # <!-- # rdoc-file=lib/set.rb # - keep_if() { |o| ... } # --> @@ -623,6 +623,7 @@ # --> # Makes a set from the enumerable object with given arguments. # Needs to `require "set"` to use this method. # def to_set: () -> Set[Elem] + | [T] { (Elem) -> T } -> Set[T] end