struct
Fluorite::Runner::Progress
- Fluorite::Runner::Progress
- Struct
- Value
- Object
Defined in:
fluorite/runner/progress.crConstructors
Class Method Summary
-
.format_span(span : Time::Span) : String
Formats time span as HH:MM:SS
Instance Method Summary
-
#bar(width : Int32 = 25) : String
Generates a smooth Unicode progress bar
- #bitrate_kbps : Float64
- #bitrate_kbps=(bitrate_kbps : Float64)
- #current_time : Time::Span
- #current_time=(current_time : Time::Span)
- #eta : Time::Span | Nil
- #eta=(eta : Time::Span | Nil)
- #eta_formatted : String
- #fps : Float64
- #fps=(fps : Float64)
- #frame : Int64
- #frame=(frame : Int64)
- #human_size : String
- #percent : Float64
- #percent=(percent : Float64)
- #q : Float64
- #q=(q : Float64)
- #size_bytes : Int64
- #size_bytes=(size_bytes : Int64)
- #speed : Float64
- #speed=(speed : Float64)
- #speed_formatted : String
- #time_formatted : String
- #total_duration : Time::Span | Nil
- #total_duration=(total_duration : Time::Span | Nil)
- #total_formatted : String
Constructor Detail
def self.new(frame : Int64 = 0_i64, fps : Float64 = 0.0, q : Float64 = 0.0, size_bytes : Int64 = 0_i64, current_time : Time::Span = Time::Span.zero, total_duration : Time::Span | Nil = nil, percent : Float64 = 0.0, bitrate_kbps : Float64 = 0.0, speed : Float64 = 0.0, eta : Time::Span | Nil = nil)
#