Class: Mutant::Matcher::Method::Metaclass::Evaluator Private

Inherits:
Evaluator
  • Object
show all
Defined in:
lib/mutant/matcher/method/metaclass.rb

Overview

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

Metaclass method evaluator

Constant Summary collapse

CONST_NAME_INDEX =

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

Terminology note: the “receiver” is the ‘self` in `class << self`

1
MATCH_NODE_TYPE =

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

:def
NAME_INDEX =

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

0
SCLASS_RECEIVER_INDEX =

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

0
SUBJECT_CLASS =

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

Subject::Method::Metaclass
RECEIVER_WARNING =

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

'Can only match :def inside :sclass on ' \
':self or :const, got :sclass on %p ' \
'unable to match'

Method Summary

Methods inherited from Evaluator

#call

Methods included from Procto

included