lib/brightbox-cli/tables.rb in brightbox-cli-0.13.1 vs lib/brightbox-cli/tables.rb in brightbox-cli-0.14.0

- old
+ new

@@ -81,10 +81,10 @@ # Simple output rows.each do |row| if options[:vertical] data options[:fields].collect { |k| [k, row[k]].join("\t") }.join("\n") else - data options[:fields].collect { |k| row[k] }.join("\t") + data options[:fields].collect { |k| row[k].is_a?(Array) ? row[k].join(',') : row[k] }.join("\t") end end else # "graphical" table if options[:vertical]