Class: Facter::Util::Parser::YamlParser

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



83
84
85
# File 'lib/facter/util/parser.rb', line 83

def parse_results
  YAML.load(content)
end