Class: String
Do not use. This class is for internal use only.
Instance Method Summary
Instance Method Details
#pretty_print(q)
[ GitHub ]# File 'lib/pp.rb', line 410
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