class Array

Public Instance Methods

pretty_print(q) click to toggle source
# File lib/pry/core_extensions.rb, line 111
def pretty_print(q)
  q.group(1, '[', ']') {
    i = 0
    q.seplist(self) { |*|
      q.pp self[i]
      i += 1
    }
  }
end