Class: LetItCrash::Matcher

Inherits:
LetItCrash::Matchers::Base show all
Extended by:
Forwardable
Defined in:
lib/letitcrash/matcher.rb

Instance Method Summary collapse

Methods inherited from LetItCrash::Matchers::Base

#branch, #initialize, #sha

Constructor Details

This class inherits a constructor from LetItCrash::Matchers::Base

Instance Method Details

#matches?Boolean

This method performs a :reek:NilCheck.

Returns:

  • (Boolean)


12
13
14
# File 'lib/letitcrash/matcher.rb', line 12

def matches?
  !matcher.nil?
end