There's no need to call `block_given?` since it's already bound to a variable. If one wasn't given, that variable is `nil`.
```ruby
def scope_to(*args, &block)
  # ...
  scope_to_config[:method] = block || method
```