HashSchema
A ruby gem that validates Hash against some schema, works for hashes created from loading json and yml files, and suchlike
Installation
Add this line to your application's Gemfile:
gem 'hash_schema'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hash_schema
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/[my-github-username]/hash_schema/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 a new Pull Request