class RDoc::RI::Driver
def render_method_comment out, method, alias_for = nil# :nodoc:
def render_method_comment out, method, alias_for = nil# :nodoc: if alias_for unless method.comment.nil? or method.comment.empty? out << RDoc::Markup::BlankLine.new out << method.comment.parse end out << RDoc::Markup::BlankLine.new out << RDoc::Markup::Paragraph.new("(This method is an alias for #{alias_for.full_name}.)") out << RDoc::Markup::BlankLine.new out << alias_for.comment.parse out << RDoc::Markup::BlankLine.new else out << RDoc::Markup::BlankLine.new out << method.comment.parse out << RDoc::Markup::BlankLine.new end end