class Dataframe::CSVBuilder
- Dataframe::CSVBuilder
- CSV::Builder
- Reference
- Object
Defined in:
builder/csv_builder.crConstructors
-
.new(io : IO, separator : Char = DEFAULT_SEPARATOR, quote_char : Char = DEFAULT_QUOTE_CHAR)
Creates a builder that will write to the given
IO
.
Instance Method Summary
-
#add_row(values : Array(Type)) : Nil
Appends the given values as a single row, and then a newline.
- #build(headers : Array(String), rows : Array(Array(Type)))
Constructor Detail
def self.new(io : IO, separator : Char = DEFAULT_SEPARATOR, quote_char : Char = DEFAULT_QUOTE_CHAR)
#
Creates a builder that will write to the given IO
.
Instance Method Detail
Appends the given values as a single row, and then a newline.