Class: Csvtool::Interface::CLI::Output::Formatters::CsvRowFormatter
- Inherits:
-
Object
- Object
- Csvtool::Interface::CLI::Output::Formatters::CsvRowFormatter
- Defined in:
- lib/csvtool/interface/cli/output/formatters/csv_row_formatter.rb
Instance Method Summary collapse
Instance Method Details
#call(fields:, col_sep:) ⇒ Object
11 12 13 |
# File 'lib/csvtool/interface/cli/output/formatters/csv_row_formatter.rb', line 11 def call(fields:, col_sep:) ::CSV.generate_line(fields, row_sep: "", col_sep: col_sep).chomp end |