Method: YARD::Logger#clear_progress

Defined in:
lib/yard/logging.rb

#clear_progressvoid

This method returns an undefined value.

Clears the progress indicator in the TTY display.

Since:

  • 0.8.2



121
122
123
124
125
# File 'lib/yard/logging.rb', line 121

def clear_progress
  return unless show_progress
  print_no_newline("\e[?25h\e[2K")
  @progress_msg = nil
end