Class: HTML::Document

Inherits:
Object show all
Defined in:
lib/test/rails/pp_html_document.rb

Instance Method Summary collapse

Instance Method Details

#pretty_print(q) ⇒ Object



2
3
4
5
6
7
# File 'lib/test/rails/pp_html_document.rb', line 2

def pretty_print(q)
  q.object_address_group self do
    q.breakable
    q.seplist @root.children_without_newlines do |v| q.pp v end
  end
end