class LetItCrash::Matchers::Base
Attributes
environment[R]
Public Class Methods
new(environment:)
click to toggle source
# File lib/letitcrash/matchers/base.rb, line 6 def initialize(environment:) @environment = environment end
Public Instance Methods
branch()
click to toggle source
# File lib/letitcrash/matchers/base.rb, line 14 def branch raise NotImplementedError end
matches?()
click to toggle source
# File lib/letitcrash/matchers/base.rb, line 10 def matches? raise NotImplementedError end
sha()
click to toggle source
# File lib/letitcrash/matchers/base.rb, line 18 def sha raise NotImplementedError end
Private Instance Methods
ci?()
click to toggle source
# File lib/letitcrash/matchers/base.rb, line 26 def ci? environment['CI'] == 'true' end