Jeremy McAnally wrote: > ruby_parser gives you this with the #comments method. > > As for the get_args/parameters method, I think that would be > fantastic. This sort of thing would make something like a new RDoc/a > live RDoc embedded in an IDE much easier. FWIW, I fully support parse tree-based tooling that is *offline*, i.e. parses content immediately before introspecting it, rather than ParseTree's exposure of internal AST structure at runtime. I'd love to see ruby_parser used heavily for this kind of offline preprocessing/analysis, since it's both portable and much more future-proof. - Charlie