Class: Purist::Matcher
- Inherits:
-
Object
- Object
- Purist::Matcher
- Defined in:
- lib/purist/matcher.rb
Class Method Summary collapse
Class Method Details
.match?(specification, trace_point) ⇒ Boolean
5 6 7 |
# File 'lib/purist/matcher.rb', line 5 def self.match?(specification, trace_point) specification.key? [trace_point.defined_class, trace_point.callee_id] end |