Do we want to make this a no-op if a `block` is not passed in? Such as:
```ruby
yield if block
```
Otherwise it will raise `NoMethodError: undefined method `call' for nil:NilClass` if a block is not present. Alternatively, we could raise a more meaningful error.