I have been playing with ruby recently and understand some basics about passing a block
to a method and how to yield values back to the block etc, but I came across the following
code in Rspec:

```
RSpec.configure do |config|
    config.use_transactional_fixtures = true
end

```

Now this looks very weired and interesting to me at the same time, but I don't fully understand it.
How is it possible to pass 'config' to configuration and at the same time it becomes a callable object
within the block as 'config.use\_transactional\_fixtures....'

Could someone please help me with a basic implementation that can be called as in the example above, and is there a name for this technique? I will carry on the quest to figure this out!