Class: Punchout::Matcher::Equal
- Inherits:
-
Punchout::Matcher
- Object
- Punchout::Matcher
- Punchout::Matcher::Equal
- Defined in:
- lib/punchout/matcher/equal.rb
Instance Method Summary collapse
Methods inherited from Punchout::Matcher
Constructor Details
This class inherits a constructor from Punchout::Matcher
Instance Method Details
#conflicts?(matcher) ⇒ Boolean
6 7 8 |
# File 'lib/punchout/matcher/equal.rb', line 6 def conflicts?(matcher) end |
#matches?(candidate) ⇒ Boolean
10 11 12 |
# File 'lib/punchout/matcher/equal.rb', line 10 def matches?(candidate) @subject == candidate end |