markbates/braai — pull request #2 by incorvia (2012-11-08 23:36:51+00:00)
Title: Allow a hash to be used as the value in the attributes argument.

This pull request adds support for nested Hashes and Hashie::Mash objects as attribute values within the Context object. Examples can be seen here:

https://gist.github.com/666ba7c3fe3b7f3ed3ac

I set out to solve the Hashie::Mash problem but opted to add tests for the nested Hash problem instead as it does not add a dependency on Hashie to illustrate that it works.