Skip to content
Poignant Guide Ruby Q&A
SectionsBlocks, procs and iterators

Blocks, procs and iterators

do and end versus braces, yield, each and map, procs and lambdas: how Ruby passes chunks of code around, explained with runnable examples and plain words.

Threads in Blocks, procs and iterators

No threads here yetBe the first to ask. Most questions get an answer within a few hours.