Class ProgressBar::Format::Molecule
In: lib/ruby-progressbar/format/molecule.rb
Parent: Object

Methods

Constants

MOLECULES = { :t => [:title_comp, :title], :T => [:title_comp, :title], :c => [:progressable, :progress], :C => [:progressable, :total], :u => [:progressable, :total_with_unknown_indicator], :p => [:percentage, :percentage], :P => [:percentage, :percentage_with_precision], :j => [:percentage, :justified_percentage], :J => [:percentage, :justified_percentage_with_precision], :a => [:time, :elapsed_with_label], :e => [:time, :estimated_with_unknown_oob], :E => [:time, :estimated_with_friendly_oob], :f => [:time, :estimated_with_no_oob], :B => [:bar, :complete_bar], :b => [:bar, :bar], :W => [:bar, :complete_bar_with_percentage], :w => [:bar, :bar_with_percentage], :i => [:bar, :incomplete_space], :r => [:rate, :rate_of_change], :R => [:rate, :rate_of_change_with_precision]
BAR_MOLECULES = %w{W w B b i}.freeze

Attributes

key  [RW] 
method_name  [RW] 

Public Class methods

Public Instance methods

[Validate]