it should be like this(line 39) under my env.

because to_yaml output is started with

"---\n" instead with "--- \n"

under my circumstance.
Merge pull request #1 from pacojp/patch-1

it should be like this(line 39) under my env.