class Mutest::Matcher::Methods::Singleton

Matcher for singleton methods

Constants

MATCHER

Private Instance Methods

access(method_name) click to toggle source

Method object on scope

@param [Symbol] method_name

@return [Method]

# File lib/mutest/matcher/methods.rb, line 73
def access(method_name)
  scope.method(method_name)
end
candidate_scope() click to toggle source

Candidate scope

@return [Class]

# File lib/mutest/matcher/methods.rb, line 80
def candidate_scope
  scope.singleton_class
end