psych
psych copied to clipboard
"0x_bae".to_yaml raises ArgumentError
Produces an 'ArgumentError: invalid value for Integer()
YAML version 3.1.0.
Works fine with 4.0.3 (YAML::VERSION
) on Ruby 3.1.2):
"0x_bae".to_yaml
=> "--- '0x_bae'\n"