class

Crab::Progress

Inherits Reference / Object

A class to handle the progress of a task

Constructors

new

A class to handle the progress of a task It is used to display the progress of a task

Source

Instance methods

add_bar(bar : Crab::Bar)

A method to add a bar to the progress It takes a Crab::Bar object as parameter

Source
length
Source
puts(text : String | Crab::Renderable, return_to_default : Bool = true)

A method to print a message above the progress bars It is prefred to only use this method to print messages while the progress bars are displayed Please only use one line at a time.

Source
update

A method to update the rendering of the progress bars

Source