From: Aaron Patterson Date: 2012-05-16T01:03:30+09:00 Subject: [ruby-core:45056] Re: [ruby-trunk - Bug #6425] Psych issue with !!omap --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 15, 2012 at 08:45:05AM +0900, trans (Thomas Sawyer) wrote: >=20 > Issue #6425 has been updated by trans (Thomas Sawyer). >=20 >=20 > =3Dbegin >=20 > Ah, the indention I added was the problem. Try: >=20 > a =3D YAML.load %{ > --- !!omap > a: 1 > b: 2 > } > a.class > a.to_yaml Perfect. I can verify this is a bug. Thanks for reporting it! --=20 Aaron Patterson http://tenderlovemaking.com/ --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iQEcBAEBAgAGBQJPsn5OAAoJEJUxcLy0/6/G3mIH/23F9J0MPh5aVhBe7GJIKSxc YYC5OG9ZgnBYirLjaKeDAkt0WWwydJ/3muP3mxg6IojLbh5u3NSRdIc3swPAqxwh vYwP4Rb165NaFa7UBO/v6jIkNn3B3ASEwpKT1nWPxvtUwxt8pQHg5TZVB+okgNDP SvWVw19qDZl5RLVpuJ8tf2gmLjtyFCrkULogt1XqoAgANQd33NoB9MtygWr5DrVh huMJrJdrquTZt9Rw+8K+NCt1uUWb4zG0GaiB+9hH4xFgcxFutJTdfUdeNDhUJ40R dHQ6KEueIzskg3qvWMmN6MJYoIrw+NqP9tR4nCB3ZOXcdts0M2WLP0kpPwiNE9I= =TVg4 -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--