J
Jeff Wood
------=_Part_10089_1753604.1129242645949
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I think I've got a very challenging project on my hands but here's I'm
trying to create.
I want a completely clean(transparent) proxy object.
One where ALL methods simply return the result of the same call on the
proxied ( not the proxy ) object.
I mean, if the user wants to add/override methods, that's fine, but by
default, EVERY call should be passed through.
I hope that makes sense...
So:
a =3D String
b =3D Proxy.new( a )
# should be the same
a.class
b.class
# should be the same
a.methods
b.methods
I want it be completely transparent.
Is that possible?
j.
--
"http://ruby-lang.org -- do you ruby?"
Jeff Wood
------=_Part_10089_1753604.1129242645949--
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I think I've got a very challenging project on my hands but here's I'm
trying to create.
I want a completely clean(transparent) proxy object.
One where ALL methods simply return the result of the same call on the
proxied ( not the proxy ) object.
I mean, if the user wants to add/override methods, that's fine, but by
default, EVERY call should be passed through.
I hope that makes sense...
So:
a =3D String
b =3D Proxy.new( a )
# should be the same
a.class
b.class
# should be the same
a.methods
b.methods
I want it be completely transparent.
Is that possible?
j.
--
"http://ruby-lang.org -- do you ruby?"
Jeff Wood
------=_Part_10089_1753604.1129242645949--