Class: Contrek::Matchers::ValueNotMatcher
- Defined in:
- lib/contrek/matchers/value_not_matcher.rb
Instance Attribute Summary
Attributes inherited from Matcher
Instance Method Summary collapse
Methods inherited from Matcher
Constructor Details
This class inherits a constructor from Contrek::Matchers::Matcher
Instance Method Details
#match?(value) ⇒ Boolean
4 5 6 |
# File 'lib/contrek/matchers/value_not_matcher.rb', line 4 def match?(value) @value_is != value end |