hashie

https://github.com/hashie/hashie

Ruby

Hashie is a collection of classes and mixins that make Ruby hashes more powerful.

Hashie::Dash#initialize

You may initialize a Dash with an attributes hash
just like you would many other kinds of data objects.

Source | Google | Stack overflow

Edit

git clone [email protected]:hashie/hashie.git

cd hashie

open lib/hashie/dash.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Hashie--Dash-initialize-for-pr


# Commit to git

git add lib/hashie/dash.rbgit commit -m "better docs for Hashie::Dash#initialize"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Hashie--Dash-initialize-for-pr

hub pull-request


# Celebrate!