method

add_converter

Importance_1
add_converter(var_name, const, name = nil, &converter) private

The actual work method for adding converters, used by both CSV.convert() and CSV.header_convert().

This method requires the var_name of the instance variable to place the converters in, the const Hash to lookup named converters in, and the normal parameters of the CSV.convert() and CSV.header_convert() methods.

Show source
Register or log in to add new notes.