이 레슨은 당분간 영어로 제공돼요.
Blocks and iterators
A block is a piece of code you pass to a method, written between { } or do ... end. Ruby's collections are built around blocks, and they turn loops into short, readable lines.
이 레슨은 당분간 영어로 제공돼요.
A block is a piece of code you pass to a method, written between { } or do ... end. Ruby's collections are built around blocks, and they turn loops into short, readable lines.