method

<<

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: CSV::Row
<<(arg) public

If a two-element Array is provided, it is assumed to be a header and field and the pair is appended. A Hash works the same way with the key being the header and the value being the field. Anything else is assumed to be a lone field which is appended with a nil header.

This method returns the row for chaining.

Show source
Register or log in to add new notes.