Skip to content

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

instance method

CSV#max_field_size

csv.max_field_size → integer or nil

Returns the limit for field size; used for parsing; see Option max_field_size:

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

Since 3.2.3.