method

new

new(inspect_proc, init_proc = nil)
public

Creates a new inspector object, using the given inspect_proc when output return values in irb.