Method: Circler::StepPrinter#to_s
- Defined in:
- lib/circler/printer/step_printer.rb
#to_s ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/circler/printer/step_printer.rb', line 10 def to_s Terminal::Table.new do |t| @steps .group_by(&:type) .each do |key, steps| t << :separator t << [{ value: key.green, alignment: :center, colspan: 2 }] steps.each { |s| print_actions(t, s) } end end.to_s end |