struct Progress::Theme

Defined in:

progress_bar/theme.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(complete : String = "▓", alt_progress_head : Nil | String = nil, progress_head : Nil | String = nil, incomplete : String = "░", bar_start : String = "[", bar_end : String = "]", width : Int32 = 60, number_format : String = "%.1f%%", binary_prefix_format : Int::BinaryPrefixFormat = :JEDEC, decimal_separator : String = ".") #

[View source]

Instance Method Detail

def alt_progress_head : String | Nil #

[View source]
def bar_end : String #

[View source]
def bar_start : String #

[View source]
def binary_prefix_format : Int::BinaryPrefixFormat #

[View source]
def complete : String #

[View source]
def decimal_separator : String #

[View source]
def has_progress_head? #

[View source]
def incomplete : String #

[View source]
def number_format : String #

[View source]
def progress_head : String | Nil #

[View source]
def width : Int32 #

[View source]