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:
parent
b7983387ff
commit
be14fd50aa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue