Actions
Bug #9873
closedYAML conversion of empty symbol
Description
The yaml gem changes the empty symbol into a string of a colon:
require "yaml"
:"".to_yaml # => "--- ! ':'\n"
So, the following round trip fails to maintain the original:
YAML.load(:"".to_yaml) # => ":"
Actions
Like0
Like0