lib/permalink/normalizations/multiple_dashes.rb in permalink-2.0.0 vs lib/permalink/normalizations/multiple_dashes.rb in permalink-2.1.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Permalink
module Normalizations
module MultipleDashes
def self.call(input, options = DEFAULT_OPTIONS)
input.gsub(/-+/sm, options[:separator])