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
lib/csv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/csv.rb, line 2052
def max_field_size
parser.max_field_size
end
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.