Sha256: 598f3ae19031109ff8949e3f7c62ae03a1679f92556b21a9dd54a49663492fe7
Contents?: true
Size: 641 Bytes
Versions: 4
Compression:
Stored size: 641 Bytes
Contents
module Mutant class Mutator class Node # Mutator for super with parentheses class Super < self handle(:super) Z_SUPER = NodeHelpers.s(:zsuper) EMPTY_SUPER = NodeHelpers.s(:super) private # Emit mutations # # @return [undefined] # # @api private # def dispatch emit_singletons emit(Z_SUPER) emit(EMPTY_SUPER) children.each_index do |index| mutate_child(index) delete_child(index) end end end # Super end # Node end # Mutator end # Mutant
Version data entries
4 entries across 4 versions & 1 rubygems