Sha256: 7384c6a63171043696cff0d718d84a6a3cccee00ed94f0107e482ed77f5327a6

Contents?: true

Size: 488 Bytes

Versions: 18

Compression:

Stored size: 488 Bytes

Contents

module Mutant
  class Mutator
    class Node
      class Literal < self
        # Mutator for empty array literals
        class EmptyArray < self

          handle(Rubinius::AST::EmptyArray)

        private

          # Emit mutants
          #
          # @return [undefined]
          #
          # @api private
          #
          def dispatch
            emit_nil
            emit_node(Rubinius::AST::ArrayLiteral, [new_nil])
          end
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mutant-0.2.20 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.17 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.16 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.15 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.14 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.13 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.12 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.11 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.9 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.8 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.7 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.6 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.5 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.4 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.3 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.2 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.1 lib/mutant/mutator/node/literal/empty_array.rb
mutant-0.2.0 lib/mutant/mutator/node/literal/empty_array.rb