From: Konrad Meyer Date: 2007-11-05T11:19:14+09:00 Subject: Re: This is how we Roll --nextPart3807872.S2m8ITHAnZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth Trans: >=20 > On Nov 4, 6:33 pm, Konrad Meyer wrote: > > Quoth Joel VanderWerf: > > > > > Trans wrote: > > > > > > irb(main):001:0> Library.list > > > > =3D> ["box", "nitro", "roll", "icli", "mint", "og", "glue", > > > > "tmail", "english", "webrite", "blow", "xact", "raw", > > > > "ruby", "ratch", "facets"] > > > > > Any reason this returns a list of strings, and not of library objects? > > > > > -- > > > vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 > > > > Maybe Library#inspect just returns a string of the name? :D >=20 > Nah. list is a class method. inspect is an instance method. >=20 > irb(main):002:0> library('facets').inspect > =3D> "#" >=20 > T. Yes, I'm aware of that. I was saying maybe Library.list (class method) whic= h=20 seems to return an array of strings in irb is actually returning an array o= f=20 Library instances, which each get rendered to a string by their respective= =20 #inspect instance methods. Regards, =2D-=20 Konrad Meyer http://konrad.sobertillnoon.com/ --nextPart3807872.S2m8ITHAnZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHLn2UCHB0oCiR2cwRAk26AJ9CsG2woKqwO7t77ll84BYdT17nnACeP8/C WDytuMYSI6QvJ9bXvCvtJac= =LdFq -----END PGP SIGNATURE----- --nextPart3807872.S2m8ITHAnZ--