state_machine
https://github.com/pluginaweek/state_machine
Ruby
Adds support for creating state machines for attributes on any Ruby class
Gitlab::SlashCommands::Help.match
This class has to be used last, as it always matches. It has to match because other commands were not triggered and we want to show the help command
Edit
git clone [email protected]:pluginaweek/state_machine.git
cd state_machine
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--SlashCommands--Help-match-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::SlashCommands::Help.match"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--SlashCommands--Help-match-for-pr
hub pull-request
# Celebrate!