A `def` is a an implicit begin:

```ruby
def foo
  raise
rescue RuntimeError
  handle
end