Sha256: 03cdc1acbc2f50be5cac019902b998fb2f64ec25dfdc71ef1e258363d76826c5
Contents?: true
Size: 342 Bytes
Versions: 17
Compression:
Stored size: 342 Bytes
Contents
require 'test_helper' require 'stringio' require 'ansi/progressbar' testcase ANSI::Progressbar do unit :initialize do stio = StringIO.new pbar = ANSI::Progressbar.new("Test Bar", 10, stio) do |b| b.style(:title => [:red], :bar=>[:blue]) end 10.times do |i| sleep 0.1 pbar.inc end true end end
Version data entries
17 entries across 17 versions & 5 rubygems