Class: Mutant::Subject::Method::Instance::Memoized
- Inherits:
-
Mutant::Subject::Method::Instance
- Object
- Mutant::Subject
- Mutant::Subject::Method
- Mutant::Subject::Method::Instance
- Mutant::Subject::Method::Instance::Memoized
- Includes:
- NodeHelpers
- Defined in:
- lib/mutant/subject/method/instance.rb
Overview
Mutator for memoized instance methods
Constant Summary
Constants included from NodeHelpers
NodeHelpers::INFINITY, NodeHelpers::NAN, NodeHelpers::NEGATIVE_INFINITY, NodeHelpers::NEW_OBJECT, NodeHelpers::N_EMPTY, NodeHelpers::N_FALSE, NodeHelpers::N_NIL, NodeHelpers::N_TRUE, NodeHelpers::RAISE
Constants inherited from Mutant::Subject::Method::Instance
Instance Method Summary collapse
-
#source ⇒ String
private
Return source.
Methods included from NodeHelpers
Methods inherited from Mutant::Subject::Method::Instance
Methods inherited from Mutant::Subject::Method
#match_expression, #name, #public?
Methods inherited from Mutant::Subject
#identification, #match_expression, #match_prefixes, #mutations, #original_root, #root, #source_line, #source_path
Instance Method Details
#source ⇒ String
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 source
39 40 41 |
# File 'lib/mutant/subject/method/instance.rb', line 39 def source Unparser.unparse(memoizer_node(node)) end |