We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Reported by @k0kubun san in ruby-jp slack #mruby channel)
yaml = 'foo: - /bar - /baz' puts YAML.dump(YAML.load(yaml))
psych
--- foo: - "/bar" - "/baz"
mruby
--- foo: - /bar - /baz
Psych seems to change the style of scalar depending on what's inside: https://github.com/ruby/psych/blob/7bebf65e4d90a75b79057e50a89ca5af3f53500a/lib/psych/visitors/yaml_tree.rb#L277-L278
So we need to change the style like psych here:
mruby-yaml/src/yaml.c
Line 373 in d925845
The text was updated successfully, but these errors were encountered:
Roughly approached in 1fc78d0
Sorry, something went wrong.
No branches or pull requests
(Reported by @k0kubun san in ruby-jp slack #mruby channel)
psych
mruby
Psych seems to change the style of scalar depending on what's inside:
https://github.com/ruby/psych/blob/7bebf65e4d90a75b79057e50a89ca5af3f53500a/lib/psych/visitors/yaml_tree.rb#L277-L278
So we need to change the style like psych here:
mruby-yaml/src/yaml.c
Line 373 in d925845
The text was updated successfully, but these errors were encountered: