Sha256: 8eb8fe3e74c504897392af3e2cb121bfdd5c359c10ad374fc459e6a46a28c618

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

if false
  require 'attribute_normalizer'
  #require 'facets/string/cleanlines'

  require_relative '../core_extensions/string/cleanlines'
  using String::Cleanlines

  AttributeNormalizer.configure do |config|
    config.normalizers[:cleanlines] = ->(input, options) {
      input.to_s.cleanlines.to_a.join("\n")
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
address_concern-3.0.0 lib/address_concern/attribute_normalizer.rb
address_concern-2.1.1 lib/address_concern/attribute_normalizer.rb
address_concern-2.1.0 lib/address_concern/attribute_normalizer.rb