Project

General

Profile

Actions

Bug #5025

closed

YAML::Syck::Map#children returns [nil, nil]

Added by trans (Thomas Sawyer) almost 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
Backport:
[ruby-core:38055]

Description

ruby-1.9.2-p0 > d = YAML.load('--- { a: 1, b: 2 }')
=> {"a"=>1, "b"=>2}
ruby-1.9.2-p0 > d = YAML.parse('--- { a: 1, b: 2 }')
=> #Syck::Map:0x00000001890840
ruby-1.9.2-p0 > d.children
=> [nil, nil]

Actions

Also available in: Atom PDF

Like0
Like0Like0