Sha256: df863b43eca85b7b27caf3ef5a57853c4f6f04b18bc6ff43530abd68d89402b8
Contents?: true
Size: 308 Bytes
Versions: 77
Compression:
Stored size: 308 Bytes
Contents
# frozen_string_literal: true module Facter class FormatterFactory def self.build(options) return JsonFactFormatter.new if options[:json] return YamlFactFormatter.new if options[:yaml] return HoconFactFormatter.new if options[:hocon] LegacyFactFormatter.new end end end
Version data entries
77 entries across 77 versions & 1 rubygems