Class: Mutant::Mutator::Node::Send::Index::Assign

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

Overview

Mutator for index assignments

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::N_EMPTY, NodeHelpers::N_FALSE, NodeHelpers::N_NIL, NodeHelpers::N_SELF, NodeHelpers::N_TRUE, NodeHelpers::RAISE

Instance Attribute Summary

Attributes inherited from Mutant::Mutator

#input, #parent

Instance Method Summary collapse

Methods included from NodeHelpers

#n_not, s

Methods inherited from Mutant::Mutator

each

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)


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

def dispatch
  emit(receiver)
end