grape

https://github.com/intridea/grape

Ruby

An opinionated framework for creating REST-like APIs in Ruby.

Grape::Util::InheritableSetting#point_in_time_copy

Create a point-in-time copy of this settings instance, with clones of
all our values. Note that, should this instance's parent be set or
changed via #inherit_from, it will copy that inheritence to any copies
which were made.

Source | Google | Stack overflow

Edit

git clone [email protected]:intridea/grape.git

cd grape

open lib/grape/util/inheritable_setting.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Grape--Util--InheritableSetting-point_in_time_copy-for-pr


# Commit to git

git add lib/grape/util/inheritable_setting.rbgit commit -m "better docs for Grape::Util::InheritableSetting#point_in_time_copy"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Grape--Util--InheritableSetting-point_in_time_copy-for-pr

hub pull-request


# Celebrate!