class YARD::Logger

def show_progress

Returns:
  • (Boolean) - whether progress indicators should be shown when
def show_progress
  return false if YARD.ruby18? # threading is too ineffective for progress support
  return false unless io.tty? # no TTY support on IO
  return false unless level > INFO # no progress in verbose/debug modes
  @show_progress
end