Class: Facter::Util::Parser::ScriptParser

Inherits:
Base
  • Object
show all
Defined in:
lib/facter/util/parser.rb

Instance Attribute Summary

Attributes inherited from Base

#filename

Instance Method Summary collapse

Methods inherited from Base

#content, #initialize, #results

Constructor Details

This class inherits a constructor from Facter::Util::Parser::Base

Instance Method Details

#parse_resultsObject



119
120
121
# File 'lib/facter/util/parser.rb', line 119

def parse_results
  KeyValuePairOutputFormat.parse Facter::Core::Execution.exec(quote(filename))
end