new(text = nil, location = nil)
Creates a new comment with text that is found in the RDoc::TopLevel location.
# File lib/rdoc/comment.rb, line 46 def initialize text = nil, location = nil @location = location @text = text.nil? ? nil : text.dup @document = nil @format = 'rdoc' @normalized = false end