stdlib/builtin/enumerable.rbs in rbs-0.4.0 vs stdlib/builtin/enumerable.rbs in rbs-0.5.0

- old
+ new

@@ -372,10 +372,10 @@ def sum: () -> (Elem | Integer) | [T] () { (Elem arg0) -> T } -> (Integer | T) | [T] (?T arg0) -> (Elem | T) | [U] (?U arg0) { (Elem arg0) -> U } -> U - def filter_map: [U] () { (Elem arg0) -> U? } -> ::Array[U] + def filter_map: [U] () { (Elem elem) -> (nil | false | U) } -> ::Array[U] | () -> ::Enumerator[Elem, Return] def chain: (*self enumerables) -> ::Enumerator::Chain[Elem, ::Array[self]] def tally: () -> ::Hash[Elem, Integer]