class IRB::Context

def verbose?

Experimental RBS support (using type sampling data from the type_fusion project).

def verbose?: () -> false

This signature was generated using 1 sample from 1 application.

Returns whether messages are displayed or not.
def verbose?
  if @verbose.nil?
    if @io.kind_of?(RelineInputMethod)
      false
    elsif defined?(ReadlineInputMethod) && @io.kind_of?(ReadlineInputMethod)
      false
    elsif !STDIN.tty? or @io.kind_of?(FileInputMethod)
      true
    else
      false
    end
  else
    @verbose
  end
end