free_mutant/lib/mutant/context.rb

19 lines
351 B
Ruby
Raw Normal View History

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