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

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.

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

Subject::Method::Metaclass
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
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.

1
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
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