module Enumerator::_Each
A convenience interface for each with optional block
Public Instance Methods
() { (T) → void } → R
() → Enumerator[T, R]
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/core/enumerator.rbs, line 134
def each: () { (T) -> void } -> R
| () -> Enumerator[T, R]