method

render_method

v2_2_9 - Show latest stable - Class: RDoc::RI::Driver
render_method(out, store, method, name)
public

No documentation available.

# File lib/rdoc/ri/driver.rb, line 1381
  def render_method out, store, method, name # :nodoc:
    out << RDoc::Markup::Paragraph.new("(from #{store.friendly_path})")

    unless name =~ /^#{Regexp.escape method.parent_name}/ then
      out << RDoc::Markup::Heading.new(3, "Implementation from #{method.parent_name}")
    end

    out << RDoc::Markup::Rule.new(1)

    render_method_arguments out, method.arglists
    render_method_superclass out, method
    render_method_comment out, method
  end