stdlib/builtin/enumerable.rbs in rbs-0.7.0 vs stdlib/builtin/enumerable.rbs in rbs-0.8.0

- old
+ new

@@ -44,11 +44,11 @@ # ``` def `any?`: () -> bool | () { (Elem arg0) -> untyped } -> bool def collect: [U] () { (Elem arg0) -> U } -> ::Array[U] - | () -> ::Enumerator[Elem, Return] + | () -> ::Enumerator[Elem, ::Array[untyped]] def collect_concat: [U] () { (Elem arg0) -> ::Enumerator[U, untyped] } -> ::Array[U] # Returns the number of items in `enum` through enumeration. If an # argument is given, the number of items in `enum` that are equal to @@ -315,10 +315,10 @@ def flat_map: [U] () { (Elem arg0) -> U } -> U | () -> ::Enumerator[Elem, Return] def map: [U] () { (Elem arg0) -> U } -> ::Array[U] - | () -> ::Enumerator[Elem, Return] + | () -> ::Enumerator[Elem, ::Array[untyped]] def member?: (untyped arg0) -> bool alias reduce inject