Sha256: 83cde5df31ab31321c1657142d6d5ffb60674c567e950581f14ce2005f631610
Contents?: true
Size: 657 Bytes
Versions: 10
Compression:
Stored size: 657 Bytes
Contents
# encoding: utf-8 module Mutant class Mutator class Node class Send # Mutator for sends that correspond to a binary operator class Binary < self children :left, :operator, :right private # Emit mutations # # @return [undefined] # # @api private # def dispatch emit(left) emit_left_mutations emit_selector_replacement emit(right) unless right.type == :splat emit_right_mutations end end # Binary end # Send end # Node end # Mutator end # Mutant
Version data entries
10 entries across 10 versions & 1 rubygems