free_mutant/lib/mutant/context.rb
Markus Schirp 10c3dfc390 Finalize method matching
* Add tests for all edge cases I could create
* Add infrastructure for loading mutations into the vm.
* The fun part is next!
2012-07-26 19:25:23 +02:00

18 lines
351 B
Ruby

module Mutant
# An abstract context where mutations can be appied to.
class Context
include Veritas::Immutable
# Return root ast for mutated node
#
# @param [Rubinius::AST::Node] node
#
# @return [Rubinis::AST::Script]
#
# @api private
#
def root(node)
Mutant.not_implemented(self)
end
end
end