intridea/hashie — pull request #251 by jgraichen (2014-12-09 22:07:05+00:00)
Title: Add block to indifferent access #fetch

The `#fetch` method from `IndifferentAccess` did not pass a block to the underlying method which resulted in a KeyError on e.g.

```ruby
indifferent_hash.fetch(:key) { |key| 'default value' }
```

This fix captures the block and passes it to the underlying fetch method that yields if the key cannot be found.