Class: Mayak::Csv::Row

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Generic, T::Sig
Defined in:
lib/mayak/csv/row.rb

Constant Summary collapse

Value =
type_member

Instance Method Summary collapse

Instance Method Details

#serialize_to_csv(separator: ",") ⇒ Object



15
16
17
# File 'lib/mayak/csv/row.rb', line 15

def serialize_to_csv(separator: ",")
  cells.map { |cell| cell[1] }.join(separator)
end