Ruby YAML Note To Self
How to stop Ruby Psych from inserting unnecessary linebreaks every 80 characters when dumping to YAML:
yaml_string = hash.to_yaml(line_width: -1)
How change the indentation:
yaml_string = hash.to_yaml(indentation: 4)
How to change the formatting in literally any other way whatsoever:
you cant. lol












