From: Run Paint Run Run Date: 2010-06-11T07:38:16+09:00 Subject: [ruby-core:30723] [Feature #3424] Source code interaction. [new ideas for ruby 2] Issue #3424 has been updated by Run Paint Run Run. We're actually close already. Look at Method#source_location to find the file and line where a method was defined, and Ripper to parse chunks of Ruby. Given that RDoc, too, is written in Ruby, I think you have most of the pieces you need. Finally, look at for a modern approach to extracting documentation from Ruby. :-) ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3424 ---------------------------------------- http://redmine.ruby-lang.org