Class: LetItCrash::Matchers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/letitcrash/matchers/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(environment:) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/letitcrash/matchers/base.rb', line 6

def initialize(environment:)
  @environment = environment
end

Instance Method Details

#branchObject

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/letitcrash/matchers/base.rb', line 14

def branch
  raise NotImplementedError
end

#matches?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/letitcrash/matchers/base.rb', line 10

def matches?
  raise NotImplementedError
end

#shaObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/letitcrash/matchers/base.rb', line 18

def sha
  raise NotImplementedError
end