Rdtool and extensions

Oh, cool. Didn’t even think of that. Thanks!



-----Original Message-----
From: Danny van Bruggen [mailto:danny@froukepc.dhs.org]
Sent: Wednesday, June 05, 2002 8:24 AM
To: ruby-talk@ruby-lang.org
Subject: Re: rdtool and extensions

Do you want to do this?

— CDROM#number
Returns the unit number that was specified in ((<CDROM.new>)).
=end */
static VALUE cdrom_number(VALUE self)
return rb_iv_get(self, “@id”);

You can run rd2 on .c (even .h) files. The parser will eat
it, because it
is just looking for =begin and =end.