H20
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'h20'
And then execute:
$ bundle
Or install it yourself as:
$ gem install h20
Usage
hash = "John", age: 25, educations: [{title: "BSC", "MSC"]}
user = H20::H2o.new(hash)
user.name # John user.age # 25
educations = user.eductions education[0].title # BSC
user.to_hash # "John", age: 25, educations: [{title: "BSC", "MSC"]}
Contributing
- Fork it
- 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