Rdoc inside method or function definition

Hi All,

Could it be possible to have documentation comments for the rdoc inside
a method definition as:

Traditional:

···

--------------------
# comment 1
# comment 2
def foo(*args)
   ...
end
--------------------

what I would like:
--------------------
def foo(*args)
   # comment 1
   # comment 2
   ...
end
--------------------

And still appear in the rdoc document?

Is this a silly question?

Regards,

Eduardo

--
Posted via http://www.ruby-forum.com/.

You can't. But when the method is documented you can show the source
code(in the .html generated), and there you can see the comments inside
the method definition.

···

--
Posted via http://www.ruby-forum.com/.