class RuboCop::Cop::Style::FrozenStringLiteralComment
def enable_comment(corrector)
def enable_comment(corrector) comment = frozen_string_literal_comment(processed_source) replacement = MagicComment.parse(comment.text).new_frozen_string_literal(true) corrector.replace(line_range(comment.line), replacement) end