class RuboCop::MagicComment::SimpleComment

def without(type)

Rewrite the comment without a given token type
def without(type)
  if @comment.match?(/\A#\s*#{self.class::KEYWORDS[type.to_sym]}/io)
    ''
  else
    @comment
  end
end