Sha256: bfa9c2d6c8a6b086a7f9879e065d983c0991129fd5b1da750997a69e105bc6f5
Contents?: true
Size: 317 Bytes
Versions: 4
Compression:
Stored size: 317 Bytes
Contents
require_relative "../error" module Config module Validation class Error < ::Config::Error def self.format(v_res) v_res.errors.group_by(&:path).map do |path, messages| "#{' ' * 2}#{path.join('.')}: #{messages.map(&:text).join('; ')}" end.join("\n") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
config-5.5.2 | lib/config/validation/error.rb |
config-5.5.1 | lib/config/validation/error.rb |
config-5.4.0 | lib/config/validation/error.rb |
config-5.3.0 | lib/config/validation/error.rb |