This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function parse_git_branch { | |
| ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
| echo "("${ref#refs/heads/}") " | |
| } | |
| white='\[\e[37;1m\]' | |
| green='\[\e[32;1m\]' | |
| blue='\[\e[34;1m\]' | |
| red='\[\e[31;1m\]' | |
| nocolour='\[\e[0m\]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SomeController < ApplicationController | |
| def update | |
| handle_response SomeEvent::Update.new(params).invoke | |
| end | |
| private | |
| ## | |
| # Performs some default action on the response. Probably just returns the |
NewerOlder