class Array
Public Instance Methods
pretty_print(q)
click to toggle source
# File lib/project/pp.rb, line 334 def pretty_print(q) q.group(1, '[', ']') { q.seplist(self) {|v| q.pp v } } end
pretty_print_cycle(q)
click to toggle source
# File lib/project/pp.rb, line 342 def pretty_print_cycle(q) q.text(empty? ? '[]' : '[...]') end