class Roo::CSV
Public Instance Methods
each_row(options, &block)
click to toggle source
# File lib/libis/tools/extend/roo.rb, line 93 def each_row(options, &block) if uri?(filename) each_row_using_tempdir(options, &block) elsif is_stream?(filename_or_stream) ::CSV.new(filename_or_stream, **options).each(&block) else ::CSV.foreach(filename, **options, &block) end end