Sha256: 89a3fd29a055b255af8101800ad74bac6f4e3de6d059ae0c78a2b831f0c5b173

Contents?: true

Size: 141 Bytes

Versions: 2

Compression:

Stored size: 141 Bytes

Contents

require 'csv'
require 'as_csv/csv_builder'

module Enumerable

  def to_csv(opts={})
    AsCSV::CSVBuilder.new(self, opts).to_csv
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
as_csv-3.0.1 lib/as_csv/core_ext/enumerable.rb
as_csv-3.0.0 lib/as_csv/core_ext/enumerable.rb