Several classes that extends Hash with some features:
Mash
Give access to hash values by hash.key
instead of hash[:key]
Dash Give Dash class, which gives possibility to explain hash properties with some attributes.
Add this line to your application's Gemfile:
gem 'hashie'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hashie
- Fork it ( http://github.com/amxsv/hashie/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request