--nextPart4489846.VnLp862y0O
Content-Type: text/plain;
  charsetso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wednesday 16 May 2007, edlich / gmail.com wrote:
> To start a new Ruby Project I need some more features that I know
> partially from Java:
>
> 1. Does Ruby support Annotations? Or is there another cool way to do
> this
> without changing the class itself?
> -> I need to tell reflection to do something special with the class.
>
> 2. Can I modify the getter of any instance var?!
> -> E.g. if an attribute defines attr_accessor, can I change the getter
> at
> runtime to do magic aspect stuff around the real get call?
>

http://svn.swordcoast.net/v.cgi/circus/trunk/src/Hookable.rb?revision view
rkup

This might be some part of what you are looking for.

Regards,
Bernhard

--nextPart4489846.VnLp862y0O
Content-Type: application/pgp-signature

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

iQIVAwUARktaIStHjRr5f7lzAQJibw/9FKiKXQwhDY45Yfq6Gfv4H9YstiWG8fBo
YODRqaDg86G/6gHipHszv2fLL2clkaVeSw7wGmfATkEgkeOAc7upDUMBQdFvM73P
bVlNXoUkqbkqgQzZOk/OsVArRnKP8oeeW9veV1SoseTz+Xi8Zr6WZvwIuxURCc84
dEMhwKOVQWGXIN8MqNZotaDobSvpJu6XXlVFWDrPeGRTsZgCJHRZ4HAm/JnAmdk2
5a6EHGFkxOzSVJ0TFca/VuxdFcIyu8tLS0y96/twbp7WiM5phU2n0zoVbm+EI5Ev
4+el4T1Np138F3mMLMAd8CCxt8GOlND94NuWghFczpvsf70CtSOZZ26qTfRw7eyy
wmKixA1hBXVvEGt/jv08vQquTxRr3HxUXNLBaaBIxiiZGJKAPaNm7WPgq3y3HLDE
an7AP4X9PP0JBLDPsY1kH7urW//c4CIqCEWDfhMxG4U+U2YZZu/OCnwEIOz91T6U
Tp13XOu0GVAsqRuMd10djjebZ1COMPj2SjQOY3fu9WR+2VEu1v6xaXQ2E2aBmG4D
0Lul61qhCCNVKPfnfrjHtewYvsNf3UH3+pKsT01wQ4qVoyhZndzxNieuNhgCzyp+
XzSiSVe3Lfkvg5xYSxzHg9sDbrUHNF2meSwWnwzkaF+YZ7IH2+yk8tKHwdcVYW9k
ApcZ84cmDds@fd
-----END PGP SIGNATURE-----

--nextPart4489846.VnLp862y0O--