Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

CSV#field_size_limit

csv.field_size_limit → integer or nil

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

Example
CSV.new('').field_size_limit # => nil
See also #eof? #flock #eof #force_quotes? also in 3.3 · 3.2 · 3.1