Method: Invoker::ProcessPrinter#print_table
- Defined in:
- lib/invoker/process_printer.rb
#print_table ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/invoker/process_printer.rb', line 10 def print_table hash_with_colors = [] list_response.processes.each do |process| if process.pid hash_with_colors << colorize_hash(process, "green") else hash_with_colors << colorize_hash(process, "light_black") end end Formatador.display_compact_table(hash_with_colors) end |