grape
https://github.com/intridea/grape
Ruby
An opinionated framework for creating REST-like APIs in Ruby.
Banzai::Filter::AbstractReferenceFilter#object_link_filter
Replace references (like `!123` for merge requests) in text with links to the referenced object's details page. text - String text to replace references in. pattern - Reference pattern to match against. link_content - Original content of the link being replaced. Returns a String with references replaced with links. All links have `gfm` and `gfm-OBJECT_NAME` class names attached for styling.
Edit
git clone [email protected]:intridea/grape.git
cd grape
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Banzai--Filter--AbstractReferenceFilter-object_link_filter-for-pr
# Commit to gitgit add git commit -m "better docs for Banzai::Filter::AbstractReferenceFilter#object_link_filter"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Banzai--Filter--AbstractReferenceFilter-object_link_filter-for-pr
hub pull-request
# Celebrate!