Skip to content

Conversation

@casperisfine
Copy link

Ref: #495

That's how it works for safe_load:

>> YAML.safe_load(':foo', permitted_classes: [Symbol])
=> :foo

So safe_dump should mirror that.

cc @tenderlove

…bols

Ref: ruby#495

That's how it works for `safe_load`:
```ruby
>> YAML.safe_load(':foo', permitted_classes: [Symbol])
=> :foo
```

So `safe_dump` should mirror that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants