-
-
Notifications
You must be signed in to change notification settings - Fork 132
Realtime Customization
bjmfactory edited this page Nov 18, 2014
·
5 revisions
The following items can be set at any time. Changes cause an immediate bar refresh so no other action is needed:
-
#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.