Sha256: 7e6ea131a31c5618155fe332fd7dd214ffceb4d8c61abd60a01c33438cbeea0e

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

module Configurations
  module Maps
    module Readers
      class Tolerant
        def read(map, path)
          path.reduce(map) do |map, value|
            map[value] if map
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
configurations-2.2.1 lib/configurations/maps/readers/tolerant.rb