In the case given above, the greet
method is not explicitly accepting
any block. Implicitly, all methods can
accept a block.
That's how Ruby is structured.
However, Ruby also allows us to
explicitly accept a block.
In order to do so,
the argument must start with an &
.
Usually, such arguments are named &block
.