class RDoc::Comment
def self.from_document(document) # :nodoc:
def self.from_document(document) # :nodoc: comment = RDoc::Comment.new('') comment.document = document comment.location = RDoc::TopLevel.new(document.file) if document.file comment end
def self.from_document(document) # :nodoc: comment = RDoc::Comment.new('') comment.document = document comment.location = RDoc::TopLevel.new(document.file) if document.file comment end