Class: Facter::FactFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/facter/framework/core/fact_filter.rb

Instance Method Summary collapse

Instance Method Details

#filter_facts!(resolved_facts, user_query) ⇒ Object



5
6
7
8
9
# File 'lib/facter/framework/core/fact_filter.rb', line 5

def filter_facts!(resolved_facts, user_query)
  filter_legacy_facts!(resolved_facts) if user_query.empty?
  filter_blocked_legacy_facts!(resolved_facts)
  resolved_facts
end