Concept Flow - Block syntax (do..end and curly braces)
Start
Call method with block
Ruby reads block syntax
If do..end
Execute block lines
If curly braces
Execute block lines
<--- Back to method
Method finishes
End
↩<--- Back to method
Ruby methods can take blocks written with do..end or curly braces. Ruby reads the block, executes its lines, then returns to the method.