--69pVuxX8awAiJ7fD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Sep 26, 2005 at 10:51:26AM +0900, Ben wrote:
> I wasn't aware that I could compare .class with a type name.  I guess
> I should have realized that.  Thanks!

"Array" isn't a type name, strictly speaking.  It's a constant that
refers to the class "Array".  And classes are objects, so you can
manipulate them directly.  For example:

Array.class
Class

Array.ancestors
[Array, Enumerable, Object, Kernel]

regards,
Ed

--69pVuxX8awAiJ7fD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDN1X5nhUz11p9MSARAjIWAJ0QRbfmhMPftFeI26h594V66JhISwCcDFBd
xI+G/YgHKC4+7Xk81NVJKXQ -----END PGP SIGNATURE-----

--69pVuxX8awAiJ7fD--