Class Spec::Runner::Formatter::ProgressBarFormatter

  1. lib/spec/runner/formatter/progress_bar_formatter.rb

Public instance methods

example_failed (example, counter, failure)
[show source]
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 7
        def example_failed(example, counter, failure)
          @output.print colorize_failure('F', failure)
          @output.flush
        end
example_passed (example)
[show source]
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 12
        def example_passed(example)
          @output.print green('.')
          @output.flush
        end
example_pending (example, message, pending_caller)
[show source]
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 17
        def example_pending(example, message, pending_caller)
          super
          @output.print yellow('*')
          @output.flush
        end
method_missing (sym, *args)
[show source]
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 28
        def method_missing(sym, *args)
          # ignore
        end
start_dump ()
[show source]
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 23
        def start_dump
          @output.puts
          @output.flush
        end