8000 "-.".to_yaml · Issue #156 · ruby/psych · GitHub
[go: up one dir, main page]

Skip to content
"-.".to_yaml #156
@thomasth

Description

@thomasth

This has probably already been reported, but a quick search didn't find it. Sorry if it has.

The following all produce an 'ArgumentError: invalid value for Float(): "-"'

"-.".to_yaml
["-."].to_yaml
{:a => "-."}.to_yaml

I've found a work around by reverting to syck but it's a little ugly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0