method

inspect_mode=

ruby latest stable - Class: IRB::Context
inspect_mode=(opt)
public

Specifies the inspect mode with opt:

true

display inspect

false

display to_s

nil

inspect mode in non-math mode, non-inspect mode in math mode

See IRB::Inspector for more information.

Can also be set using the --inspect and --noinspect command line options.

See IRB@Command+line+options for more command line options.