lib/models/searched_fact.rb in facter-4.0.8.pre vs lib/models/searched_fact.rb in facter-4.0.9.pre
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Facter
class SearchedFact
- attr_accessor :name, :fact_class, :filter_tokens, :user_query, :type
+ attr_reader :name, :fact_class, :filter_tokens, :user_query, :type
def initialize(fact_name, fact_class, filter_tokens, user_query, type)
@name = fact_name
@fact_class = fact_class
@filter_tokens = filter_tokens