class Facter::CoreFact
Public Class Methods
new(searched_fact)
click to toggle source
# File lib/facter/framework/core/fact/internal/core_fact.rb, line 4 def initialize(searched_fact) @searched_fact = searched_fact end
Public Instance Methods
create()
click to toggle source
# File lib/facter/framework/core/fact/internal/core_fact.rb, line 8 def create fact_class = @searched_fact.fact_class return unless fact_class fact_class.new.call_the_resolver end