This method is only available on newer versions. The first available version (v2_6_3) is shown here.
to_i()
No documentation available.
# File lib/csv.rb, line 1148 def to_i raise NotImplementedError unless @io.respond_to?(:to_i) @io.to_i end