Sha256: 1b70940472445fccfd92b986b3778b73b7b960b5b7c567aea0aa317efffd5db0
Contents?: true
Size: 493 Bytes
Versions: 82
Compression:
Stored size: 493 Bytes
Contents
module Vagrant module Config module V2 class Util # This merges two error hashes from validate methods. # # @param [Hash] first # @param [Hash] second # @return [Hash] Merged result def self.merge_errors(first, second) first.dup.tap do |result| second.each do |key, value| result[key] ||= [] result[key] += value end end end end end end end
Version data entries
82 entries across 75 versions & 13 rubygems