grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Grape::Util::InheritableSetting#inherit_from
Set our inherited values to the given parent's current values. Also, update the inherited values on any settings instances which were forked from us.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open lib/grape/util/inheritable_setting.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Grape--Util--InheritableSetting-inherit_from-for-pr
# Commit to gitgit add lib/grape/util/inheritable_setting.rbgit commit -m "better docs for Grape::Util::InheritableSetting#inherit_from"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Grape--Util--InheritableSetting-inherit_from-for-pr
hub pull-request
# Celebrate!