From 8c29003517585a254772a8063e772558f03b40c9 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Sat, 16 Feb 2013 21:36:24 +0100 Subject: [PATCH] Use regexp syntax to_source can reproduce --- lib/mutant/matcher/method.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mutant/matcher/method.rb b/lib/mutant/matcher/method.rb index 90a1dd1e..7289bf9b 100644 --- a/lib/mutant/matcher/method.rb +++ b/lib/mutant/matcher/method.rb @@ -18,7 +18,7 @@ module Mutant # Methods within rbx kernel directory are precompiled and their source # cannot be accessed via reading source location - BLACKLIST = %r(\Akernel/).freeze + BLACKLIST = /\Akernel\//.freeze # Enumerate matches #