Project

General

Profile

Actions

Backport #4021

closed

YAML::dump_stream with colons and carriage return (\r)

Added by ariera (Alejandro Riera) over 13 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
[ruby-core:33038]

Description

=begin
I have the following problem:

YAML::dump_stream("foo:\r") #=> "--- foo:\r\n"
if you load it:
YAML::load YAML::dump_stream("foo:\r") #=> {"foo"=>nil}
but it should return "foo:\r"
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0