If i have bunch of classes in objectspace and have a list of methods which generated also from objectspace, is there any possibility to fetch rdoc documentation for single method ?
Example:
FILE: foo.rb
# Class rdoc information here
class foo
# defining bar here, just prints hello world
def bar
puts "hello world"
end
end
FILE: baz.rb
require 'foo.rb'
puts "I want to print out the rdoc portion of method bar here"