Loading Indicator

Learn about the loading indicator, and how to use it in the Ruby program.

We'll cover the following

How to use the loading indicator

The loading indicator, or progress bar, is one of the easiest visual ways to let a user know about a process happening in the background. For example, downloading a file or formatting a hard drive takes time. For the sake of a better user experience, programmers and UI designers have invented loading indicators.

Let’s practice writing a program to show a message about formatting the hard drive. Don’t worry, there won’t be any real formatting, only the visual part of it will be shown:

Get hands-on with 1200+ tech skills courses.