Class: Mutant::Mutator::Node::Send::Index::Reference

Inherits:
Mutant::Mutator::Node::Send::Index show all
Defined in:
lib/mutant/mutator/node/send.rb

Overview

Mutator for index references

Constant Summary

Constants inherited from Mutant::Mutator::Node::Send

ASSIGN_SUFFIX, Mutant::Mutator::Node::Send::INDEX_ASSIGN, Mutant::Mutator::Node::Send::INDEX_REFERENCE, SELECTOR_REPLACEMENTS

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

Instance Attribute Summary

Attributes inherited from Mutant::Mutator

#input, #parent

Instance Method Summary collapse

Methods inherited from Mutant::Mutator::Node

identity

Methods included from NodeHelpers

#n_not, s

Methods inherited from Mutant::Mutator

each, identity

Instance Method Details

#dispatchundefined

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.

Perform dispatch

Returns:

  • (undefined)


35
36
37
# File 'lib/mutant/mutator/node/send.rb', line 35

def dispatch
  emit(receiver)
end