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