Method: RspecSpinner::Bar#start

Defined in:
lib/rspec_spinner/bar.rb

#start(example_count) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/rspec_spinner/bar.rb', line 5

def start(example_count)
  @current     = 0
  @total       = example_count
  @error_state = :all_passing
  @pbar        = RTUI::Progress.new("#{example_count} examples", example_count,
  {:out => output})
end