# File lib/test/rails/pp_html_document.rb, line 26 def pretty_print(q) case @closing when :close then q.text "[close #{@name}]" when :self then pretty_print_tag 'empty', q when nil then pretty_print_tag 'open ', q else raise "Unknown closing #{@closing.inspect}" end end