class LetItCrash::Matchers::Wercker
Public Instance Methods
branch()
click to toggle source
# File lib/letitcrash/matchers/wercker.rb, line 11 def branch environment['WERCKER_GIT_BRANCH'] end
matches?()
click to toggle source
This method performs a :reek:NilCheck.
# File lib/letitcrash/matchers/wercker.rb, line 7 def matches? ci? && !branch.nil? end
sha()
click to toggle source
# File lib/letitcrash/matchers/wercker.rb, line 15 def sha environment['WERCKER_GIT_COMMIT'] end