> -----Original Message-----
> From: Brent Roman [mailto:brent / mbari.org]=20
> Sent: Tuesday, February 10, 2009 12:31 AM
> To: ruby-core / ruby-lang.org
> Subject: [ruby-core:21946] New hash : syntax for the 1.8 series?
>=20
>=20
> I always liked the new hash symbol key colon syntax introduced in 1.9
>=20
> h =3D {dog: "bark", cat: "meow", horse: "neigh", programmer: "z z z"}
>=20
> It's especially nice in method invocations:
>=20
> animal.noises dog: "bark", cat: "meow", horse: "neigh"
>=20
> Is anyone working working on porting this back to 1.8?
> Anyone else interested in this?

No. I used to be, but then decided it looked ugly with symbols:

h =3D {dog: :bark}

Will these parse?

h =3D {object::bark}
h =3D {dog: object::bark}
h =3D {dog: ::Array.new::bark}

Regards,

Dan