Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/as_csv/core_ext/array.rb
Instance Method Summary collapse
- #to_csv_with_builder(opts = {}) ⇒ Object (also: #to_csv)
Instance Method Details
#to_csv_with_builder(opts = {}) ⇒ Object Also known as: to_csv
2 3 4 |
# File 'lib/as_csv/core_ext/array.rb', line 2 def to_csv_with_builder(opts={}) AsCSV::CSVBuilder.new(self, opts).to_csv || to_csv_without_builder end |