Sha256: 8bbeddb619a0441d73c55301b7f86b1e69faa041ac4af3aacf59a52f22d20b5e
Contents?: true
Size: 986 Bytes
Versions: 23
Compression:
Stored size: 986 Bytes
Contents
module Mutant class Mutator class Node class Send # Mutator for attribute assignments class AttributeAssignment < self private # Emit mutations # # @return [undefined] # # @api private # def dispatch normal_dispatch emit_attribute_read end # Mutate arguments # # @return [undefined] # # @api private # def mutate_arguments remaining_children_indices.each do |index| mutate_child(index) end end # Emit attribute read # # @return [undefined] # # @api private # def emit_attribute_read emit_type(receiver, selector.to_s[0..-2].to_sym) end end # AttributeAssignment end # Send end # Node end # Mutator end # Mutant
Version data entries
23 entries across 23 versions & 1 rubygems