# File lib/facter/util/parser.rb, line 49 def content @content ||= File.read(filename) end
# File lib/facter/util/parser.rb, line 64 def parse_results raise ArgumentError, "Subclasses must respond to parse_results" end
results on the base class is really meant to be just an exception handler wrapper.
# File lib/facter/util/parser.rb, line 55 def results parse_results rescue Exception => detail Facter.warn("Failed to handle #{filename} as #{self.class} facts") Facter.warn("detail: #{detail.class}: #{detail.message}") Facter.debug(detail.backtrace.join("\n\t")) nil end
Generated with the Darkfish Rdoc Generator 2.