--FkmkrVfFsRoUs1wW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 16, 2011 at 04:46:28AM +0900, Vladimir Van Bauenhoffer wrote:
>=20
> 2. Hash.new {0}
>    anotherhash.values.each {|x| thecreatedhash[x] +=3D 1}
>=20
> What makes the hash created above different from a hash created the
> normal way? I can execute the block on a hash created with that method
> but not a normal empty hash created manually.

What exactly do you mean by "the normal way"?

--=20
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

--FkmkrVfFsRoUs1wW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk5yY/gACgkQ9mn/Pj01uKUtpACgrMS7jfXoAdhUvtcPHegt6eJv
E34AnR+zSpLvrwH0L9Jxsti979ifTUCV
=aroO
-----END PGP SIGNATURE-----

--FkmkrVfFsRoUs1wW--

On Fri, Sep 16, 2011 at 04:46:28AM +0900, Vladimir Van Bauenhoffer wrote:
>=20
> 2. Hash.new {0}
>    anotherhash.values.each {|x| thecreatedhash[x] +=3D 1}
>=20
> What makes the hash created above different from a hash created the
> normal way? I can execute the block on a hash created with that method
> but not a normal empty hash created manually.

What exactly do you mean by "the normal way"?

--=20
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk5yY/gACgkQ9mn/Pj01uKUtpACgrMS7jfXoAdhUvtcPHegt6eJv
E34AnR+zSpLvrwH0L9Jxsti979ifTUCV
=aroO
-----END PGP SIGNATURE-----