Sha256: db85a820681398889ee137bd83cbc3ad5679b5f52623dfbfe741bce5a1abd641

Contents?: true

Size: 363 Bytes

Versions: 40

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    module Mapping
      module Normalizers
        # Shared methods available to normalizer class instances
        module Base
          def regenerate_ng_xml(xml)
            @ng_xml = Nokogiri::XML(xml) { |config| config.default_xml.noblanks }
          end
        end
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
cocina-models-0.99.1 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.99.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.98.1 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.98.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.96.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.95.1 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.95.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.94.2 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.94.1 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.94.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.93.1 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.93.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.92.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.91.4 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.91.3 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.91.2 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.91.1 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.91.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.90.0 lib/cocina/models/mapping/normalizers/base.rb
cocina-models-0.89.1 lib/cocina/models/mapping/normalizers/base.rb