Sha256: b2137c74da55fe0731bb052c9afac248885c7ab0e46b4692c59a933f97fbb585

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

# frozen_string_literal: true

module Permalink
  module Normalizations
    module Contraction
      def self.call(input, _options = nil)
        input.gsub(/['’]/, "")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
permalink-3.0.0 lib/permalink/normalizations/contraction.rb
permalink-2.1.0 lib/permalink/normalizations/contraction.rb