method

pretty_print

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

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/verbatim.rb, line 52
  def pretty_print q # :nodoc:
    self.class.name =~ /.*::(\w{1,4})/

    q.group 2, "[#{$1.downcase}: ", ']' do
      if @format then
        q.text "format: #{@format}"
        q.breakable
      end

      q.seplist @parts do |part|
        q.pp part
      end
    end
  end