Would be useful to mention any reasons why someone should consider using this gem over alternatives like OpenStruct (which is in the standard library so it's usually someone's goto). For example, OpenStruct cannot handle nested hashes properly, while this gem can. I didn't know that until trying to find a reason why I would want to use this gem.
Another suggestion is to indicate in an example what happens when a key isn't found. Does it return nil or does it raise like #fetch does? If it returns nil by default, can it be configured to raise?
Would be useful to mention any reasons why someone should consider using this gem over alternatives like OpenStruct (which is in the standard library so it's usually someone's goto). For example, OpenStruct cannot handle nested hashes properly, while this gem can. I didn't know that until trying to find a reason why I would want to use this gem.
Another suggestion is to indicate in an example what happens when a key isn't found. Does it return
nilor does it raise like#fetchdoes? If it returnsnilby default, can it be configured to raise?