Class: TurnipFormatter::Printer::Index
- Inherits:
-
Object
- Object
- TurnipFormatter::Printer::Index
- Extended by:
- TurnipFormatter::Printer
- Defined in:
- lib/turnip_formatter/printer/index.rb
Class Method Summary collapse
Methods included from TurnipFormatter::Printer
Class Method Details
.print_out(formatter) ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/turnip_formatter/printer/index.rb', line 16 def print_out(formatter) render_template(:index, { scenarios: formatter.scenarios, passed_scenarios: formatter.passed_scenarios, failed_count: formatter.failure_count, pending_count: formatter.pending_count, total_time: formatter.duration, } ) end |