Class: StringIO

Inherits:
Object show all
Defined in:
lib/rio/ext/csv/csv.rb

Overview

def self.generate_line( array, field_sep=nil, row_sep=nil )

    FasterCSV.generate_line( array, :col_sep => field_sep || ",",
                                    :row_sep => row_sep   || "" )
  end
end

rescue LoadError

require 'csv'         # second choice--slower but standard

end

Instance Method Summary collapse

Instance Method Details

#to_ioObject



46
# File 'lib/rio/ext/csv/csv.rb', line 46

def to_io() self end