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
lib/csv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/csv.rb, line 2053
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.