common
https://github.com/cucumber/common
A home for issues that are common to multiple cucumber repositories
Repository.cache_method
Wraps around the given method and caches its output in Redis and an instance variable. This only works for methods that do not take any arguments.
Edit
git clone [email protected]:cucumber/common.git
cd common
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Repository-cache_method-for-pr
# Commit to gitgit add git commit -m "better docs for Repository.cache_method"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Repository-cache_method-for-pr
hub pull-request
# Celebrate!