Class: Facter::FormatterFactory
- Inherits:
 - 
      Object
      
        
- Object
 - Facter::FormatterFactory
 
 
- Defined in:
 - lib/facter/framework/formatters/formatter_factory.rb
 
Class Method Summary collapse
Class Method Details
.build(options) ⇒ Object
      5 6 7 8 9 10 11  | 
    
      # File 'lib/facter/framework/formatters/formatter_factory.rb', line 5 def self.build() return JsonFactFormatter.new if [:json] return YamlFactFormatter.new if [:yaml] return HoconFactFormatter.new if [:hocon] LegacyFactFormatter.new end  |