-
-
Notifications
You must be signed in to change notification settings - Fork 132
Realtime Customization
Jeff Felchner edited this page Sep 15, 2017
·
5 revisions
The following items can be set at any time. Changes cause an immediate bar refresh so no other action is needed:
Method | Description |
---|---|
#progress_mark= |
Sets the string used to represent progress along the bar. |
#remainder_mark= |
Sets the string used to represent the empty part of the bar. |
#title= |
Sets the string used to represent the items the bar is tracking (or I guess whatever else you want it to be). |
#format(format_string) |
If you need to adjust the format that the bar uses when rendering itself, just pass in a string in the same format See Formatting). |