state_machine

https://github.com/pluginaweek/state_machine

Ruby

Adds support for creating state machines for attributes on any Ruby class

Banzai::Filter::GollumTagsFilter#process_page_link_tag

Attempt to process the tag as a page link tag.

tag - The String tag contents (the stuff inside the double brackets).

Returns the String HTML if the tag is a valid page link tag or nil
if it is not.

Source | Google | Stack overflow

Edit

git clone [email protected]:pluginaweek/state_machine.git

cd state_machine

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Banzai--Filter--GollumTagsFilter-process_page_link_tag-for-pr


# Commit to git

git add git commit -m "better docs for Banzai::Filter::GollumTagsFilter#process_page_link_tag"


# 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--GollumTagsFilter-process_page_link_tag-for-pr

hub pull-request


# Celebrate!