1
objectspace에 여러 클래스가 있고 objectspace에서도 생성 된 메소드 목록이있는 경우 단일 메소드에 대해 rdoc 문서를 가져올 수 있습니까?외부 루비 클래스에서 Rdoc 항목을 가져올 수 있습니까?
예 :
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"