Module: GitCheckBit
- Included in:
- Takelage::BitClipboard, Takelage::BitRequire, Takelage::BitScope, Takelage::GitCheck, Takelage::InitPacker, Takelage::InitTakelage
- Defined in:
- lib/takelage/git/check/bit.rb
Overview
takelage git check bit
Instance Method Summary collapse
-
#git_check_bit ⇒ Boolean
Backend method for git check bit.
Instance Method Details
#git_check_bit ⇒ Boolean
Backend method for git check bit.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/takelage/git/check/bit.rb', line 7 def git_check_bit log.debug 'Check if we are on the git bit branch' return false unless git_check_workspace branch = _git_check_bit_get_branch log.debug "We are on git branch \"#{branch}\"" branch == config.active['git_bit_branch'] end |