Skip to content

Instantly share code, notes, and snippets.

@amyroi
Last active August 29, 2015 14:07
Show Gist options
  • Save amyroi/9297d74da2cd03ef7ece to your computer and use it in GitHub Desktop.
Save amyroi/9297d74da2cd03ef7ece to your computer and use it in GitHub Desktop.
str = ''
yaml_test = str.to_yaml
=>"--- \"\"\n"
YAML.load(yaml_test)
=> ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment