From: Pau Garcia i Quiles Date: 2006-10-15T12:48:54+09:00 Subject: RDoc vs metaprogramming --nextPart10191233.7Aucc0r5lq Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I have developed a library to read and parse XSPF playlists. Most of the=20 methods (90%) are metagenerated using something like this: class XSPFBlah =20 attributes =3D %w{ attrib1 attrib2 } attributes.each do |attrib| define_method(attrib.to_sym) { do_something } end def initialize(source) do something end end RDoc does not find the metaprogrammed methods, therefore the documentation = is=20 useless. Is there anything I could do to get RDoc to work? Thank you. =2D-=20 Pau Garcia i Quiles http://www.elpauer.org (Due to the amount of work, I usually need 10 days to answer) --nextPart10191233.7Aucc0r5lq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFMa+f/DzYv9iGJzsRAjqNAKDfE1rHNBoOBQuEiN0VjY009ocStgCffxJg I11GSPvha3KygBrcoM9GPQc= =Ga3d -----END PGP SIGNATURE----- --nextPart10191233.7Aucc0r5lq--