From 9c08fad7eaecc32f6044352ee99f40b0a3c22e12 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Tue, 31 Jul 2012 22:03:36 +0200 Subject: [PATCH] Add noop mutator for Rubinius::AST::Self --- lib/mutant/mutator/self.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/mutant/mutator/self.rb diff --git a/lib/mutant/mutator/self.rb b/lib/mutant/mutator/self.rb new file mode 100644 index 00000000..ae8cc2e6 --- /dev/null +++ b/lib/mutant/mutator/self.rb @@ -0,0 +1,21 @@ +module Mutant + class Mutator + # Mutator for Rubinius::AST::Self + class Self < Mutator + + handle(Rubinius::AST::Self) + + private + + # Emit mutations + # + # @return [undefined] + # + # @api private + # + def dispatch + # noop + end + end + end +end