Class: Array
Instance Method Summary (collapse)
Instance Method Details
- (Object) pretty_print(q)
64 65 66 67 68 69 70 71 72 |
# File 'lib/pry/core_extensions.rb', line 64 def pretty_print(q) q.group(1, '[', ']') { i = 0 q.seplist(self) { |*| q.pp self[i] i += 1 } } end |