Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. 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.