lib/rubocop/monkey_patches/comment_config.rb in cookstyle-5.23.0 vs lib/rubocop/monkey_patches/comment_config.rb in cookstyle-6.0.19
- old
+ new
@@ -1,7 +1,7 @@
module RuboCop
# we're monkey patching the config regex to allow for # cookstyle: disable whatever
- # in addition to the # rubocop: disable whatever that comes with Rubocop
+ # in addition to the # rubocop: disable whatever that comes with RuboCop
class CommentConfig
remove_const('COMMENT_DIRECTIVE_REGEXP')
COMMENT_DIRECTIVE_REGEXP = Regexp.new(
('# (?:rubocop|cookstyle) : ((?:dis|en)able)\b ' + COPS_PATTERN).gsub(' ', '\s*')
)