psych icon indicating copy to clipboard operation
psych copied to clipboard

"0x_bae".to_yaml raises ArgumentError

Open payuramex opened this issue 2 years ago • 1 comments

Produces an 'ArgumentError: invalid value for Integer()

YAML version 3.1.0.

payuramex avatar Jun 23 '22 04:06 payuramex

Works fine with 4.0.3 (YAML::VERSION) on Ruby 3.1.2):

"0x_bae".to_yaml
 => "--- '0x_bae'\n"

tisba avatar Sep 09 '22 10:09 tisba