lib/tocer/transformers/text.rb in tocer-2.0.0 vs lib/tocer/transformers/text.rb in tocer-2.1.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
require "refinements/array_extensions"
module Tocer
module Transformers
# Transforms a Markdown header (plain text) into a table of contents link.