Module: Formatter::Verbose
- Defined in:
- lib/formatter/verbose.rb
Instance Method Summary collapse
Instance Method Details
#progress_lines ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/formatter/verbose.rb', line 5 def progress_lines label = "running: #{example_name}" label = label.slice(0, terminal_width - 3).concat('...') if label.size > terminal_width super.concat( [ format("%-#{terminal_width}s", finished? ? '' : label) ] ) end |