Class: RstukFuu

Inherits:
Fuubar
  • Object
show all
Defined in:
lib/rstuk/formatters/rstukfuu.rb

Instance Method Summary collapse

Instance Method Details

#start(example_count) ⇒ Object



4
5
6
7
8
# File 'lib/rstuk/formatters/rstukfuu.rb', line 4

def start(example_count)
  super example_count
  format = '| %c/%C | %p% | %e '
  @progress_bar = ProgressBar.create(:format => "#{" " *  (terminal_width - format.length*2)} #{format}", :total => example_count, :output => output)
end