method

pretty_print

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: Verbatim
pretty_print(q) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.