class

Cbat

Inherits Reference < Object

Constructors

new(props : Properties)
Source

Instance methods

create_bars

Iterates over each battery, calculates the needed filling chars given the width.

Source
display_data

Iterates over each battery and checks the format string token by token for potencial substitutions signaled by a % symbol similar to GNU date, ex: date +"%D %H:%M" => 03/20/24 01:28

Source
get_values
Source
list_batteries
Source