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