tdreyno/middleman — comment on commit 03f17ff551776c293ab4596ffb0569ec07a58ee2
File:  line 0
By tdreyno:

I honestly didn't even think about "next." It's definitely available in loops (along with break). Maybe it talks directly to block's yield in these more custom iterator scenarios. Wonder if it has to be manually supported in code.

Yeah, the combined guard (if statement which returns early) would work and be concise.