SYMBOL INDEX (188 symbols across 28 files) FILE: examples/slow_process.rb function download_from_server (line 9) | def download_from_server(offset, limit) function download_finished? (line 14) | def download_finished?(position) FILE: lib/tty/progressbar.rb type TTY (line 17) | module TTY class ProgressBar (line 21) | class ProgressBar method max_columns (line 50) | def self.max_columns method display_columns (line 62) | def self.display_columns(value) method initialize (line 106) | def initialize(format, options = {}) method reset (line 132) | def reset method configure (line 151) | def configure method indeterminate? (line 160) | def indeterminate? method attach_to (line 170) | def attach_to(multibar) method use (line 180) | def use(formatter_class) method start (line 191) | def start method advance (line 205) | def advance(progress = 1, tokens = {}) method iterate (line 259) | def iterate(collection, progress = 1, &block) method update (line 276) | def update(options = {}) method current= (line 292) | def current=(value) method ratio= (line 309) | def ratio=(value) method ratio (line 323) | def ratio method render (line 337) | def render method move_to_row (line 367) | def move_to_row method write (line 393) | def write(data, clear_first = false) method resize (line 410) | def resize(new_width = nil) method finish (line 424) | def finish method resume (line 446) | def resume method stop (line 457) | def stop method pause (line 478) | def pause method clear_line (line 489) | def clear_line method complete? (line 499) | def complete? method stopped? (line 508) | def stopped? method paused? (line 517) | def paused? method done? (line 526) | def done? method on (line 538) | def on(name, &callback) method log (line 551) | def log(message) method to_s (line 568) | def to_s method inspect (line 577) | def inspect method padout (line 595) | def padout(message) method emit (line 611) | def emit(name, *args) method tty? (line 622) | def tty? FILE: lib/tty/progressbar/configuration.rb type TTY (line 5) | module TTY class ProgressBar (line 6) | class ProgressBar class Configuration (line 7) | class Configuration method initialize (line 66) | def initialize(options) method complete= (line 88) | def complete=(value) method incomplete= (line 99) | def incomplete=(value) method unknown= (line 110) | def unknown=(value) method total= (line 121) | def total=(value) method fetch_char (line 134) | def fetch_char(name, property) method raise_if_empty (line 149) | def raise_if_empty(name, value) FILE: lib/tty/progressbar/converter.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar type Converter (line 8) | module Converter function to_time (line 17) | def to_time(seconds) function to_seconds (line 46) | def to_seconds(seconds, precision: nil) function to_bytes (line 68) | def to_bytes(value, decimals: 2, separator: ".", unit_separator: "") FILE: lib/tty/progressbar/formats.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar type Formats (line 5) | module Formats FILE: lib/tty/progressbar/formatter.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar class Formatter (line 5) | class Formatter < ::Module method [] (line 9) | def self.[](token_match) method initialize (line 19) | def initialize(token_match) FILE: lib/tty/progressbar/formatter/bar.rb type TTY (line 5) | module TTY class ProgressBar (line 6) | class ProgressBar class BarFormatter (line 10) | class BarFormatter method call (line 19) | def call(value) method format_indeterminate (line 40) | def format_indeterminate(value, width) method format_determinate (line 65) | def format_determinate(value, width) FILE: lib/tty/progressbar/formatter/byte_rate.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class ByteRateFormatter (line 11) | class ByteRateFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatter/current.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar class CurrentFormatter (line 8) | class CurrentFormatter method call (line 17) | def call(value) FILE: lib/tty/progressbar/formatter/current_byte.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class ByteFormatter (line 11) | class ByteFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatter/elapsed.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class ElapsedFormatter (line 11) | class ElapsedFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatter/estimated.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class EstimatedFormatter (line 11) | class EstimatedFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatter/estimated_time.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar class EstimatedTimeFormatter (line 8) | class EstimatedTimeFormatter method call (line 17) | def call(value) FILE: lib/tty/progressbar/formatter/mean_byte.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class MeanByteFormatter (line 11) | class MeanByteFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatter/mean_rate.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class MeanRateFormatter (line 11) | class MeanRateFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatter/percent.rb type TTY (line 5) | module TTY class ProgressBar (line 6) | class ProgressBar class PercentFormatter (line 10) | class PercentFormatter method call (line 19) | def call(value) FILE: lib/tty/progressbar/formatter/rate.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class RateFormatter (line 11) | class RateFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatter/total.rb type TTY (line 5) | module TTY class ProgressBar (line 6) | class ProgressBar class TotalFormatter (line 10) | class TotalFormatter method call (line 19) | def call(value) FILE: lib/tty/progressbar/formatter/total_byte.rb type TTY (line 6) | module TTY class ProgressBar (line 7) | class ProgressBar class TotalByteFormatter (line 11) | class TotalByteFormatter method call (line 20) | def call(value) FILE: lib/tty/progressbar/formatters.rb type TTY (line 21) | module TTY class ProgressBar (line 22) | class ProgressBar class Formatters (line 23) | class Formatters method initialize (line 29) | def initialize(pipeline = nil) method load (line 36) | def load(progress) FILE: lib/tty/progressbar/meter.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar class Meter (line 9) | class Meter method initialize (line 16) | def initialize(interval) method start (line 24) | def start method sample (line 41) | def sample(at, value) method prune_samples (line 51) | def prune_samples(at) method save_rate (line 62) | def save_rate(at) method rate (line 75) | def rate method rates (line 88) | def rates method mean_rate (line 98) | def mean_rate method clear (line 111) | def clear FILE: lib/tty/progressbar/multi.rb type TTY (line 8) | module TTY class ProgressBar (line 9) | class ProgressBar class Multi (line 13) | class Multi method initialize (line 46) | def initialize(*args) method register (line 73) | def register(format, options = {}) method next_row (line 94) | def next_row method observe (line 106) | def observe(bar) method progress_handler (line 116) | def progress_handler method top_bar (line 126) | def top_bar method start (line 132) | def start method total (line 143) | def total method current (line 154) | def current method complete? (line 165) | def complete? method stopped? (line 176) | def stopped? method done? (line 187) | def done? method paused? (line 198) | def paused? method stop (line 207) | def stop method finish (line 214) | def finish method pause (line 221) | def pause method resume (line 228) | def resume method line_inset (line 242) | def line_inset(bar) method on (line 261) | def on(name, &callback) method emit (line 276) | def emit(name, *args) FILE: lib/tty/progressbar/pipeline.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar class Pipeline (line 8) | class Pipeline method initialize (line 14) | def initialize(formatters = []) method use (line 25) | def use(formatter) method decorate (line 40) | def decorate(tokenized) method each (line 54) | def each(&block) FILE: lib/tty/progressbar/timer.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar class Timer (line 8) | class Timer method initialize (line 14) | def initialize method reset (line 21) | def reset method running? (line 32) | def running? method elapsed_time (line 42) | def elapsed_time method elapsed_until_now (line 53) | def elapsed_until_now method start (line 65) | def start method stop (line 78) | def stop FILE: lib/tty/progressbar/version.rb type TTY (line 3) | module TTY class ProgressBar (line 4) | class ProgressBar FILE: spec/spec_helper.rb class StringIO (line 22) | class StringIO method tty? (line 24) | def tty? FILE: spec/support/output_io.rb class OutputIO (line 3) | class OutputIO method initialize (line 4) | def initialize(content = "") method print (line 8) | def print(string) method read (line 12) | def read method flush (line 16) | def flush; end method rewind (line 18) | def rewind; end method tty? (line 20) | def tty? FILE: spec/unit/custom_formatter_spec.rb function initialize (line 10) | def initialize(progress) function matches? (line 14) | def matches?(value) function call (line 18) | def call(value)