Written for fun one evening as an exercise in Ruby. My goal was an easy way to load any YAML file and interact with it using dot notation.
Perhaps you have a YAML file:
---
title: Amazing Content
yaml = YAMLReader.new 'path/to/yaml_file.yaml'
yaml.title
# "Amazing Content"
yaml.title = "Even More Amazing Content!"
yaml.description = "..."
yaml.title
# "Even More Amazing Content!"
yaml.description
# "..."
yaml.dump
# ---
# title: Even More Amazing Content!
# description: ...
yaml.save_as '/path/to/new_yaml_file.yaml'
# true
yaml.save
# true