enum Athena::Console::Helper::ProgressBar::Format

Overview

Represents the built in progress bar formats.

See [Built-In Formats][Athena::Console::Helper::ProgressBar--built-in-formats] for more information.

Defined in:

helper/progress_bar.cr

Enum Members

DEBUG = 0

" %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%"

VERY_VERBOSE = 1

" %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s%"

VERBOSE = 2

" %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%"

NORMAL = 3

" %current%/%max% [%bar%] %percent:3s%%"

DEBUG_NOMAX = 4

" %current% [%bar%] %elapsed:6s% %memory:6s%"

VERBOSE_NOMAX = 5

" %current% [%bar%] %elapsed:6s%"

VERY_VERBOSE_NOMAX = 6

" %current% [%bar%] %elapsed:6s%"

NORMAL_NOMAX = 7

" %current% [%bar%]"

Instance Method Summary

Instance Method Detail

def debug? #

[View source]
def debug_nomax? #

[View source]
def normal? #

[View source]
def normal_nomax? #

[View source]
def verbose? #

[View source]
def verbose_nomax? #

[View source]
def very_verbose? #

[View source]
def very_verbose_nomax? #

[View source]