Class: NeuronCheckSystem::ValueEqualMatcher
- Inherits:
-
MatcherBase
- Object
- MatcherBase
- NeuronCheckSystem::ValueEqualMatcher
- Defined in:
- lib/neuroncheck/matcher.rb
Overview
値が == で等しいことを判定する
Instance Attribute Summary
Attributes inherited from MatcherBase
Instance Method Summary collapse
Methods inherited from MatcherBase
#expected_short_caption, #get_error_message, #initialize, #meta_info_as_json
Constructor Details
This class inherits a constructor from NeuronCheckSystem::MatcherBase
Instance Method Details
#expected_caption ⇒ Object
99 100 101 |
# File 'lib/neuroncheck/matcher.rb', line 99 def expected_caption @expected.inspect end |
#match?(value, self_object) ⇒ Boolean
95 96 97 |
# File 'lib/neuroncheck/matcher.rb', line 95 def match?(value, self_object) @expected == value end |