stdlib/builtin/enumerator.rbs in rbs-0.3.1 vs stdlib/builtin/enumerator.rbs in rbs-0.4.0
- old
+ new
@@ -248,12 +248,14 @@
class Enumerator::Lazy[out Elem, out Return] < Enumerator[Elem, Return]
end
class Enumerator::Yielder < Object
- def <<: (*untyped arg0) -> void
+ def <<: (untyped arg0) -> void
def yield: (*untyped arg0) -> void
+
+ def to_proc: () -> Proc
end
class Enumerator::Chain[out Elem, out Return] < Object
include Enumerable[Elem, Return]
end