Sha256: 5285b9ceb3524f59419bb9f459ceda112151e41ed44338b3b432ede2f38cab34
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
# encoding: utf-8 module Mutant class Mutator class Node class Send # Mutator for sends that correspond to an attribute assignment 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.5.19 | lib/mutant/mutator/node/send/attribute_assignment.rb |
mutant-0.5.18 | lib/mutant/mutator/node/send/attribute_assignment.rb |