From: Chad Perrin Date: 2011-04-29T12:45:21+09:00 Subject: Re: Is everything object ? --MfFXiAuoTsnnDAfZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 29, 2011 at 08:50:49AM +0900, 7stud -- wrote: > Chad Perrin wrote in post #995626: > > On Fri, Apr 29, 2011 at 01:54:20AM +0900, 7stud -- wrote: > >> > >> I have never found that claim to be important in any language. > >> Whether everything is an object or just most things doesn't make a > >> bit of difference in writing programs. Now if you were selected to > >> be on a Ruby Trivia Show, and you can win thousands of $$$, then it > >> would be helpful to know. > > > > It seems pretty unimportant until I try to interact with something as an > > object and it turns out it *isn't* an object. >=20 > Do you have a real world example of that? Perhaps: >=20 > (1, 2, 3).send(:ancestors) puts.extend Enumerable --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --MfFXiAuoTsnnDAfZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk26MT4ACgkQ9mn/Pj01uKXdvwCgpc1i7V9QFgca3BRpOXFw9/Dg NusAn0JVQKsXo2A3Mgz8T1Xvc4hfKfS7 =UzTH -----END PGP SIGNATURE----- --MfFXiAuoTsnnDAfZ--