Sha256: 4e03b42c63215a32debaee2d8e758ad6be4a26c843fbd35dd06e61fe7c632869
Contents?: true
Size: 565 Bytes
Versions: 20
Compression:
Stored size: 565 Bytes
Contents
module Mutant class Mutator class Node # OpAsgn mutator class OrAsgn < self handle(:or_asgn) children :left, :right private # Emit mutations # # @return [undefined] # # @api private # def dispatch emit_singletons emit_right_mutations return if n_ivasgn?(left) emit_left_mutations do |node| AST::Meta.for(node).assignment? end end end # OrAsgn end # Node end # Mutator end # Mutant
Version data entries
20 entries across 20 versions & 1 rubygems