10c3dfc390
* Add tests for all edge cases I could create * Add infrastructure for loading mutations into the vm. * The fun part is next!
23 lines
370 B
Ruby
23 lines
370 B
Ruby
module Mutant
|
|
# Mutate rubinius AST nodes
|
|
class Mutator
|
|
# Initialize mutator
|
|
#
|
|
# @param [Rubinius::AST::Node] node
|
|
#
|
|
# @api private
|
|
#
|
|
def initialize(node)
|
|
@node = node
|
|
end
|
|
|
|
# # Enumerate mutated asts
|
|
# #
|
|
# # @api private
|
|
# #
|
|
# def each
|
|
# return to_enum(__method__) unless block_given?
|
|
# self
|
|
# end
|
|
end
|
|
end
|