Changeset 100

Show
Ignore:
Timestamp:
01/30/2007 12:52:54 (22 months ago)
Author:
why
Message:
  • lib/hpricot/inspect.rb: simplify display of text nodes in inspect to a string dump.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/hpricot/inspect.rb

    r43 r100  
    8181  end 
    8282 
     83  class Text 
     84    def pretty_print(q) 
     85      q.text @content.dump 
     86    end 
     87  end 
     88 
    8389  class BogusETag 
    8490    def pretty_print(q)