method

pretty_print

ruby latest stable - Class: RDoc::Markup::Document

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

pretty_print(q)
public

No documentation available.

# File lib/rdoc/markup/document.rb, line 137
  def pretty_print q # :nodoc:
    start = @file ? "[doc (#{@file}): " : '[doc: '

    q.group 2, start, ']' do
      q.seplist @parts do |part|
        q.pp part
      end
    end
  end