Class: Punchout::Matcher::Klass
- Inherits:
-
Punchout::Matcher
- Object
- Punchout::Matcher
- Punchout::Matcher::Klass
- Defined in:
- lib/punchout/matcher/class.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/class.rb', line 6 def conflicts?(matcher) false end |
#matches?(candidate) ⇒ Boolean
10 11 12 |
# File 'lib/punchout/matcher/class.rb', line 10 def matches?(candidate) @subject == candidate.class end |