Class: SaltHiera::Plugins::Yaml
- Inherits:
-
Object
- Object
- SaltHiera::Plugins::Yaml
- Defined in:
- lib/salt_hiera/plugins/yaml.rb
Class Method Summary collapse
Class Method Details
.process_file(file) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/salt_hiera/plugins/yaml.rb', line 5 def self.process_file file contents = File.read file dict = YAML.load contents dict || {} end |