From: MenTaLguY Date: 2006-02-22T03:29:20+09:00 Subject: Re: [ANN] lazy.rb 0.9.5 -- transparent futures! --=-Ipjq4l0d8E/LS+R44yx1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-02-21 at 17:33 +0900, Andrew Johnson wrote: > When I toyed with a proof-of-concept of Io's asynchronous messages in Rub= y >=20 > http://www.siaris.net/index.cgi/Programming/LanguageBits/Ruby/Async.rdo= c >=20 > Jim Weirich pointed out that methods later added to Object or Kernel will > no longer be "missing" in the Async (or Future) class. One work around is > to trap "method_added" up the chain, for example: >=20 > http://www.siaris.net/cgi-bin/siwiki.pl?FeedBack/AsyncMessages >=20 > But then I discovered that methods added by including a module weren't > trapped by method_added -- so in the end, a KernellessObject (from evil.r= b) > was needed (same link as above) as Async's parent to keep the proxy clean= . Hmm, good catch. Thanks! I wonder if it's worth introducing a dependency on evil.rb? -mental --=-Ipjq4l0d8E/LS+R44yx1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBD+1wlSuZBmZzm14ERAjDtAKCx7zyA7lYmyhmO0J2HSUOrRrkJywCgviIY xGMkBeqZbiadYflvhGGzZr8= =p7dd -----END PGP SIGNATURE----- --=-Ipjq4l0d8E/LS+R44yx1--