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