lib/facter/models/resolved_fact.rb in facter-4.1.1 vs lib/facter/models/resolved_fact.rb in facter-4.2.0
- old
+ new
@@ -1,17 +1,16 @@
# frozen_string_literal: true
module Facter
class ResolvedFact
attr_reader :name, :type
- attr_accessor :user_query, :filter_tokens, :value, :file
+ attr_accessor :user_query, :value, :file
- def initialize(name, value = '', type = :core, user_query = nil, filter_tokens = [])
+ def initialize(name, value = '', type = :core, user_query = nil)
@name = name
@value = Utils.deep_stringify_keys(value)
@type = type
@user_query = user_query
- @filter_tokens = filter_tokens
end
def legacy?
type == :legacy
end