hub

https://github.com/mislav/hub

Go

A command-line tool that makes git easier to use with GitHub.

Banzai::Filter::ExternalIssueReferenceFilter.references_in

Public: Find `JIRA-123` issue references in text

  ExternalIssueReferenceFilter.references_in(text, pattern) do |match, issue|
    "<a href=...>##{issue}</a>"
  end

text - String text to search.

Yields the String match and the String issue reference.

Returns a String replaced with the return of the block.

Source | Google | Stack overflow

Edit

git clone [email protected]:mislav/hub.git

cd hub

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Banzai--Filter--ExternalIssueReferenceFilter-references_in-for-pr


# Commit to git

git add git commit -m "better docs for Banzai::Filter::ExternalIssueReferenceFilter.references_in"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Banzai--Filter--ExternalIssueReferenceFilter-references_in-for-pr

hub pull-request


# Celebrate!