OK, I was wrong, sorry. I don't have any preferences between

``` ruby
   def connect
     # ...

      if block_given?
        yield
        disconnect
      end
    end
```

and

``` ruby
  def connect(options = {})
      # ...

      return unless block_given?

      yield
      disconnect
    end
```

but won't object to the use of explicit return.