Class: RuboCop::DirectiveComment

Inherits:
Object
  • Object
show all
Defined in:
lib/standard/rubocop/ext.rb

Constant Summary collapse

DIRECTIVE_COMMENT_REGEXP =
Regexp.new(
  ('# (?:standard|rubocop) : ((?:disable|enable|todo))\b ' + COPS_PATTERN)
    .gsub(" ", '\s*')
)