Sha256: 45a15d5064791823861743455d7cbb55d417022ff79b5e047d144a47d32ea82e

Contents?: true

Size: 310 Bytes

Versions: 9

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

module Facter
  module PriorityOptions
    def augment_with_priority_options!(priority_options)
      priority_options.each do |key, val|
        @options[key.to_sym] = val
        @options[key.to_sym] = '' if key == 'log_level' && val == 'log_level'
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
facter-4.0.15 lib/framework/core/options/priority_options.rb
facter-4.0.14 lib/framework/core/options/priority_options.rb
facter-4.0.13 lib/framework/core/options/priority_options.rb
facter-4.0.12 lib/framework/core/options/priority_options.rb
facter-4.0.11 lib/framework/core/options/priority_options.rb
facter-4.0.10.pre lib/framework/core/options/priority_options.rb
facter-4.0.9.pre lib/framework/core/options/priority_options.rb
facter-4.0.8.pre lib/framework/core/options/priority_options.rb
facter-4.0.7.pre lib/framework/core/options/priority_options.rb