类 Array

公共实例方法

to_csv(**options) 点击切换源代码

等效于 CSV::generate_line(self, options)

["CSV", "data"].to_csv
  #=> "CSV,data\n"
# File csv-3.3.2/lib/csv/core_ext/array.rb, line 6
def to_csv(**options)
  CSV.generate_line(self, **options)
end