Sha256: 81d6a40f424310f51c298ff6810137dc582a21e13fa708c8b54bf238181a1369
Contents?: true
Size: 738 Bytes
Versions: 13
Compression:
Stored size: 738 Bytes
Contents
# frozen_string_literal: true module Mutant class Mutator class Node class Send # Mutator for attribute assignments class AttributeAssignment < self ATTRIBUTE_RANGE = (..-2) private_constant(*constants(false)) private def dispatch normal_dispatch emit_attribute_read end def mutate_arguments remaining_children_indices.each do |index| mutate_child(index) end end def emit_attribute_read emit_type(receiver, selector[ATTRIBUTE_RANGE].to_sym) end end # AttributeAssignment end # Send end # Node end # Mutator end # Mutant
Version data entries
13 entries across 13 versions & 1 rubygems