Alternatively, calling `to_yaml` on any object converts it to YAML. You can pass this converted object into the `simpleformat` helper method to format the output. This is how `debug` does its magic.
Alternatively, calling `to_yaml` on any object converts it to YAML. You can pass this converted object into the `simple_format` helper method to format the output. This is how `debug` does its magic.