class Enumerator
def current(default_value = nil)
def current(default_value = nil) peek rescue ::StopIteration default_value end
def ongoing?
def ongoing? !stopped? end
def stopped?
def stopped? peek false rescue ::StopIteration true end
def current(default_value = nil) peek rescue ::StopIteration default_value end
def ongoing? !stopped? end
def stopped? peek false rescue ::StopIteration true end