method

new

ruby latest stable - Class: IRB::Inspector
new(inspect_proc, init_proc = nil)
public

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