Use regexp literal that can be generated correctly by to_source

Later versions of to_source that are backed by regexp_parser will emit
this correcty.
This commit is contained in:
Markus Schirp 2013-01-26 17:35:42 +01:00
parent b7983387ff
commit be14fd50aa

View file

@ -6,7 +6,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
#