Class: Mutant::Matcher::Scope
- Inherits:
-
Mutant::Matcher
- Object
- Mutant::Matcher
- Mutant::Matcher::Scope
- Defined in:
- lib/mutant/matcher/scope.rb
Overview
Matcher expanding Mutant::Scope objects into method matches at singleton or instance level
If we ever get other subjects than methods, its likely the place to hook in custom matchers. In that case the scope matchers to expand should be passed as arguments to the constructor.
Constant Summary collapse
Instance Method Summary collapse
-
#call(env) ⇒ Enumerable<Subject>
private
Matched subjects.