Class: Mutest::Subject::Method::Instance Private
- Inherits:
-
Mutest::Subject::Method
- Object
- Mutest::Subject
- Mutest::Subject::Method
- Mutest::Subject::Method::Instance
- Defined in:
- lib/mutest/subject/method/instance.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.
Instance method subjects
Direct Known Subclasses
Defined Under Namespace
Classes: Memoized
Constant Summary collapse
- 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
- SYMBOL =
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.
'#'.freeze
Instance Method Summary collapse
-
#prepare ⇒ self
private
Prepare subject for mutation insertion.
Methods inherited from Mutest::Subject::Method
#expression, #match_expressions, #name
Methods inherited from Mutest::Subject
#expression, #identification, #match_expressions, #mutations, #source, #source_line, #source_lines, #source_path
Instance Method Details
#prepare ⇒ self
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.
Prepare subject for mutation insertion
12 13 14 15 |
# File 'lib/mutest/subject/method/instance.rb', line 12 def prepare scope.__send__(:undef_method, name) self end |