lib/permalink/normalizations/leading_trailing_dashes.rb in permalink-2.0.0 vs lib/permalink/normalizations/leading_trailing_dashes.rb in permalink-2.1.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module Permalink module Normalizations module LeadingTrailingDashes def self.call(input, _options = nil) input.gsub(/^-?(.*?)-?$/, '\1')