Sha256: 7ed66806c5c5cca7b1e67cd07bae8ca012a1aa7e5aedbe3bd9ef892dc5b5566e
Contents?: true
Size: 393 Bytes
Versions: 4
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' module Alf module Support describe CSVUtils::ProcIO do include CSVUtils it 'works as expected' do @seen = nil proc_io = CSVUtils::ProcIO.new{|str| @seen = str} with_csv(proc_io, row_sep: "\n") do |csv| csv << ["Smith", 20, "London"] end @seen.should eq("Smith,20,London\n") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems