Class: String
Overview
:nodoc:
Instance Method Summary collapse
- 
  
    
      #pretty_print(q)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
:nodoc:.
 
Instance Method Details
#pretty_print(q) ⇒ Object
:nodoc:
      502 503 504 505 506 507 508 509 510 511 512 513  | 
    
      # File 'lib/pp.rb', line 502 def pretty_print(q) # :nodoc: lines = self.lines if lines.size > 1 q.group(0, '', '') do q.seplist(lines, lambda { q.text ' +'; q.breakable }) do |v| q.pp v end end else q.text inspect end end  |