Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

CSV#headers

csv.headers → object

Returns the value that determines whether headers are used; used for parsing; see Option headers:

Example
CSV.new('').headers # => nil