Class: Mutant::Matcher::ScopeMethods::Singleton

Inherits:
Mutant::Matcher::ScopeMethods show all
Defined in:
lib/mutant/matcher/scope_methods.rb

Constant Summary collapse

MATCHER =
Matcher::Method::Singleton

Instance Attribute Summary

Attributes inherited from Mutant::Matcher::ScopeMethods

#scope

Instance Method Summary collapse

Methods inherited from Mutant::Matcher::ScopeMethods

#each, #matcher, method_names, #methods

Methods inherited from Mutant::Matcher

#each, from_string, #identification, parse

Instance Method Details

#access(method_name) ⇒ Method

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return method for name

Parameters:

  • method_name (Symbol)

Returns:



119
120
121
# File 'lib/mutant/matcher/scope_methods.rb', line 119

def access(method_name)
  scope.method(method_name)
end