Sha256: af2c39c23827907a5f332778e9c4594259c58c3f3acf3782feee8914060ddbc4

Contents?: true

Size: 405 Bytes

Versions: 4

Compression:

Stored size: 405 Bytes

Contents

module Mutant
  class Mutator
    class Node
      # Namespace for class mutations
      class Class < self
        handle :class

        children :klass, :parent, :body

      private

        # Emit mutations only for class body
        #
        # @return [undefined]
        def dispatch
          emit_body_mutations if body
        end
      end # Class
    end # Node
  end # Mutator
end # Mutant

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mutant-0.8.14 lib/mutant/mutator/node/class.rb
mutant-0.8.13 lib/mutant/mutator/node/class.rb
mutant-0.8.12 lib/mutant/mutator/node/class.rb
mutant-0.8.11 lib/mutant/mutator/node/class.rb